Skip to content

Commit

Permalink
ci(workflows): [approve-pr] fix workflow run when pr is synchronized
Browse files Browse the repository at this point in the history
Signed-off-by: Lexus Drumgold <[email protected]>
  • Loading branch information
unicornware committed Jan 8, 2023
1 parent ab884fc commit 921e1aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/approve-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ env:
GITHUB_TOKEN: ${{ secrets.PAT_BOT }}
jobs:
approve-pr:
if: github.event.requested_reviewer.login == 'flexdevelopment'
if: |
github.event_name == 'synchronize' ||
github.event.requested_reviewer.login == 'flexdevelopment'
runs-on: ubuntu-latest
steps:
- id: dependabot-metadata
Expand Down

0 comments on commit 921e1aa

Please sign in to comment.