Skip to content

Commit

Permalink
Try running auto-approve after other jobs (#2328)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshMock authored Aug 12, 2024
1 parent 99cefe8 commit 37b8a33
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/auto-approve.yml

This file was deleted.

12 changes: 11 additions & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: Node CI

on:
pull_request: {}
pull_request_target: {}

jobs:
paths-filter:
Expand Down Expand Up @@ -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

0 comments on commit 37b8a33

Please sign in to comment.