Skip to content

Commit 6116909

Browse files
[Backport 8.15] Try running auto-approve after other jobs (#2330)
(cherry picked from commit 37b8a33) Co-authored-by: Josh Mock <[email protected]>
1 parent f609271 commit 6116909

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/nodejs.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: Node CI
33

44
on:
5-
pull_request: {}
5+
pull_request_target: {}
66

77
jobs:
88
paths-filter:
@@ -72,3 +72,13 @@ jobs:
7272
- name: License checker
7373
run: |
7474
npm run license-checker
75+
76+
auto-approve:
77+
name: Auto-approve
78+
needs: [test, license]
79+
runs-on: ubuntu-latest
80+
permissions:
81+
pull-requests: write
82+
if: github.actor == 'elasticmachine'
83+
steps:
84+
- uses: hmarr/auto-approve-action@v4

0 commit comments

Comments
 (0)