[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:
github-actions[bot]
2024-08-12 12:36:46 -05:00
committed by GitHub
parent f609271107
commit 6116909a9b

View File

@ -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