Skip to content

Commit

Permalink
UNDO THIS - forced system to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Bullrich committed Apr 8, 2024
1 parent 78b9034 commit a5f189a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/review-trigger.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Review-Trigger
name: Review-Trigger-Test

on:
pull_request_target:
pull_request:
types:
- opened
- reopened
Expand All @@ -14,7 +14,7 @@ on:
jobs:
trigger-review-bot:
# (It is not a draft) && (it is not a review || it is an approving review)
if: ${{ github.event.pull_request.draft != true && (github.event_name != 'pull_request_review' || (github.event.review && github.event.review.state == 'APPROVED')) }}
if: ${{ github.event.pull_request.draft != true }}
runs-on: ubuntu-latest
name: trigger review bot
steps:
Expand All @@ -27,8 +27,7 @@ jobs:
if: |
github.event_name == 'pull_request_target' &&
github.event.action == 'synchronize' &&
github.event.sender.login == github.event.pull_request.user.login &&
github.event.pull_request.author_association != 'MEMBER'
github.event.sender.login == github.event.pull_request.user.login
run: |
echo "::error::Project needs to be reviewed again"
Expand Down

0 comments on commit a5f189a

Please sign in to comment.