File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,14 @@ jobs:
12
12
pull-requests : write
13
13
steps :
14
14
- uses : actions/checkout@v4
15
- - uses : actions/setup-node@v3
15
+ - uses : actions/setup-node@v4
16
16
with :
17
17
node-version : 18
18
18
cache : npm
19
19
- name : Checkout PR
20
20
run : gh pr checkout ${{ github.event.pull_request.number }}
21
+ env :
22
+ GITHUB_TOKEN : ${{ github.token }}
21
23
- run : npm install
22
24
- name : Git config
23
25
run : |
39
41
run : gh pr merge --auto --merge "$PR_URL"
40
42
env :
41
43
PR_URL : ${{ github.event.pull_request.html_url }}
44
+ GITHUB_TOKEN : ${{ github.token }}
Original file line number Diff line number Diff line change 1
- on : [push, pull_request, workflow_dispatch]
2
1
name : tests
3
2
3
+ on :
4
+ pull_request :
5
+ merge_group :
6
+ types : [checks_requested]
7
+ push :
8
+ branches :
9
+ - ' main'
10
+ workflow_dispatch :
11
+ schedule :
12
+ - cron : 0 0 * * *
13
+
4
14
jobs :
5
15
test :
6
16
runs-on : ${{ matrix.os }}
You can’t perform that action at this time.
0 commit comments