File tree 1 file changed +25
-7
lines changed
1 file changed +25
-7
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
branches : [main]
6
6
7
- permissions :
8
- contents : read
9
-
10
7
jobs :
11
8
auto_downporting :
12
9
runs-on : ubuntu-latest
13
10
timeout-minutes : 10
14
11
steps :
15
- - uses : actions/checkout@v3
16
- - uses : actions/setup-node@v3
12
+ - name : Checkout Repository
13
+ uses : actions/checkout@v3
14
+ with :
15
+ ref : 702
16
+
17
+ - name : Set up Node.js
18
+ uses : actions/setup-node@v3
17
19
with :
18
- node-version : 20
20
+ node-version : ' 16'
21
+
19
22
- run : npm ci
20
- - run : npm run rename
23
+ - run : npm run downport
24
+ - name : Create Pull Request
25
+ id : cpr
26
+ uses : peter-evans/create-pull-request@v5
27
+ with :
28
+ branch : auto-update-downport
29
+ title : " Auto Update Downport"
30
+ commit-message : " Auto Update Downport"
31
+ body : " This PR contains automated changes."
32
+ labels : " auto-merge"
33
+ - name : Enable Pull Request Automerge
34
+ if : steps.changes.outputs.changes == 'true'
35
+ uses : peter-evans/enable-pull-request-automerge@v3
36
+ with :
37
+ pull-request-number : ${{ steps.cpr.outputs.pull-request-number }}
38
+ merge-method : squash
You can’t perform that action at this time.
0 commit comments