This repository was archived by the owner on Jan 28, 2022. It is now read-only.
File tree 5 files changed +17
-19
lines changed
5 files changed +17
-19
lines changed Original file line number Diff line number Diff line change @@ -12,19 +12,21 @@ jobs:
12
12
steps :
13
13
- name : Checkout
14
14
uses : actions/checkout@v2
15
+ with :
16
+ ref : ${{ github.event.pull_request.head.ref }}
17
+ repository : ${{ github.event.pull_request.head.repo.full_name }}
15
18
- name : Install dependencies
16
19
run : yarn install --check-files --frozen-lockfile
17
20
- name : Synthesize project files
18
21
run : npx projen
19
- - name : Anti-tamper check
20
- run : git diff --exit-code
21
22
- name : Set git identity
22
23
run : |-
23
24
git config user.name "Auto-bump"
24
25
git config user.email "[email protected] "
25
26
- name : Build
26
27
run : npx projen build
27
- - name : Anti-tamper check
28
- run : git diff --exit-code
28
+ - name : Commit and push changes (if any)
29
+ run : ' git diff --exit-code || (git commit -am "chore: self mutation" && git push
30
+ origin HEAD:${{ github.event.pull_request.head.ref }})'
29
31
container :
30
32
image : jsii/superchain
Original file line number Diff line number Diff line change 33
33
- name : Anti-tamper check
34
34
run : git diff --exit-code
35
35
- name : Push commits
36
- run : git push origin $BRANCH
37
- env :
38
- BRANCH : ${{ github.ref }}
36
+ run : git push origin HEAD:${{ github.ref }}
39
37
- name : Push tags
40
- run : git push --follow-tags origin $BRANCH
41
- env :
42
- BRANCH : ${{ github.ref }}
38
+ run : git push --follow-tags origin ${{ github.ref }}
43
39
- name : Upload artifact
44
40
45
41
with :
Original file line number Diff line number Diff line change 73
73
},
74
74
{
75
75
"name" : " projen" ,
76
- "version" : " ^0.17.0 " ,
76
+ "version" : " ^0.17.17 " ,
77
77
"type" : " build"
78
78
},
79
79
{
Original file line number Diff line number Diff line change 5
5
"url" : " https://github.com/eladb/cfunctions.git"
6
6
},
7
7
"scripts" : {
8
- "projen" : " npx projen" ,
9
- "start" : " npx projen start" ,
10
8
"clobber" : " npx projen clobber" ,
11
9
"compile" : " npx projen compile" ,
12
10
"test:compile" : " npx projen test:compile" ,
21
19
"package" : " npx projen package" ,
22
20
"eslint" : " npx projen eslint" ,
23
21
"compat" : " npx projen compat" ,
24
- "docgen" : " npx projen docgen"
22
+ "docgen" : " npx projen docgen" ,
23
+ "projen" : " npx projen" ,
24
+ "start" : " npx projen start"
25
25
},
26
26
"author" : {
27
27
"name" : " Elad Ben-Israel" ,
46
46
"jsii-docgen" : " ^1.4.114" ,
47
47
"jsii-pacmak" : " ^1.16.0" ,
48
48
"json-schema" : " ^0.2.5" ,
49
- "projen" : " ^0.17.0 " ,
49
+ "projen" : " ^0.17.17 " ,
50
50
"standard-version" : " ^9" ,
51
51
"ts-jest" : " ^26.4.4" ,
52
52
"typescript" : " ^3.9.5"
Original file line number Diff line number Diff line change @@ -4644,10 +4644,10 @@ progress@^2.0.0:
4644
4644
resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8"
4645
4645
integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==
4646
4646
4647
- projen@^0.17.0 :
4648
- version "0.17.0 "
4649
- resolved "https://registry.yarnpkg.com/projen/-/projen-0.17.0 .tgz#9a7c6deff77a3a76f24abc0ccb6563f23eae6fb1 "
4650
- integrity sha512-t8Vg7tXLPMqi7PPJPCIujzv6jD3hHrnSXwXjECJZBh0+zeAdFuu6H46ztIiu0I73h0QOTMfyRxlRoMn4YKtxoQ ==
4647
+ projen@^0.17.17 :
4648
+ version "0.17.17 "
4649
+ resolved "https://registry.yarnpkg.com/projen/-/projen-0.17.17 .tgz#497333f5ab23dac13b600bdbdb686c97d230ee41 "
4650
+ integrity sha512-4Or7h/ABz2w7F9+0s7jGLi+aS7iV5im290fR/yz9PEsaHYro8+W3khFjUzNz3K93M0m5qBAN3Mp2rtaFYbg0SQ ==
4651
4651
dependencies :
4652
4652
" @iarna/toml" " ^2.2.5"
4653
4653
chalk "^4.1.0"
You can’t perform that action at this time.
0 commit comments