Skip to content

Commit

Permalink
Prevent skipping due to "if" statement (#80)
Browse files Browse the repository at this point in the history
Prevent pr approval from getting skipped when there is a non-approval
review submitted on the PR.

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 and MIT licenses.
  • Loading branch information
jaisnan authored Sep 6, 2024
1 parent bc7bce7 commit e29fb31
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/pr_approval.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:

jobs:
check-approvals:
if: github.event.review.state == 'APPROVED' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down

0 comments on commit e29fb31

Please sign in to comment.