File tree 2 files changed +7
-9
lines changed
2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,10 @@ permissions:
9
9
jobs :
10
10
approve :
11
11
name : Auto-approve dependabot PRs
12
- if : github.event.pull_request.user.login == 'dependabot' && contains(github.event.pull_request.labels.*.name, 'dependencies')
13
- runs-on : ubuntu-20 .04
12
+ if : github.actor == 'dependabot[bot]'
13
+ runs-on : ubuntu-24 .04
14
14
steps :
15
- - uses : hmarr/auto-approve-action@v2
16
- with :
17
- github-token : " ${{ secrets.GITHUB_TOKEN }}"
15
+ - uses : hmarr/auto-approve-action@v4
18
16
- name : Enable auto-merge for Dependabot PRs
19
17
run : gh pr merge --auto --merge "$PR_URL"
20
18
env :
Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
test :
11
- runs-on : ubuntu-latest
11
+ runs-on : ubuntu-24.04
12
12
steps :
13
13
- name : Checkout repo
14
- uses : actions/checkout@v2
14
+ uses : actions/checkout@v4
15
15
with :
16
16
ref : ${{ github.ref }}
17
17
- name : Install dependencies
18
- run : ' npm ci'
18
+ run : npm ci
19
19
- name : Run Tests
20
- run : ' npm test'
20
+ run : npm test
You can’t perform that action at this time.
0 commit comments