Try running auto-approve after other jobs (#2328)
This commit is contained in:
12
.github/workflows/auto-approve.yml
vendored
12
.github/workflows/auto-approve.yml
vendored
@ -1,12 +0,0 @@
|
||||
---
|
||||
name: "Auto-approve codegen PRs"
|
||||
on: pull_request_target
|
||||
|
||||
jobs:
|
||||
auto-approve:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
pull-requests: write
|
||||
if: github.actor == 'elasticmachine'
|
||||
steps:
|
||||
- uses: hmarr/auto-approve-action@v4
|
||||
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