[Backport 8.15] Try running auto-approve after other jobs (#2330)
(cherry picked from commit 37b8a33209)
Co-authored-by: Josh Mock <joshua.mock@elastic.co>
This commit is contained in:
committed by
GitHub
parent
f609271107
commit
6116909a9b
12
.github/workflows/nodejs.yml
vendored
12
.github/workflows/nodejs.yml
vendored
@ -2,7 +2,7 @@
|
||||
name: Node CI
|
||||
|
||||
on:
|
||||
pull_request: {}
|
||||
pull_request_target: {}
|
||||
|
||||
jobs:
|
||||
paths-filter:
|
||||
@ -72,3 +72,13 @@ jobs:
|
||||
- name: License checker
|
||||
run: |
|
||||
npm run license-checker
|
||||
|
||||
auto-approve:
|
||||
name: Auto-approve
|
||||
needs: [test, license]
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
pull-requests: write
|
||||
if: github.actor == 'elasticmachine'
|
||||
steps:
|
||||
- uses: hmarr/auto-approve-action@v4
|
||||
|
||||
Reference in New Issue
Block a user