mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-03 05:20:38 -05:00
chore: fixed problem with this running against PRs which it shouldnt (#26011)
chore: fix to closed issue workflow that was running against PRs incorrectly
This commit is contained in:
@@ -26,9 +26,10 @@ jobs:
|
||||
PROJECT_NUMBER: 9
|
||||
ISSUE_NUMBER: ${{ github.event.issue.number }}
|
||||
if: |
|
||||
github.event.sender.login != 'cypress-bot[bot]' &&
|
||||
env.COMMENT_ADDED_AFTER_CLOSE == '1' &&
|
||||
github.event.sender.login != 'github-actions[bot]'
|
||||
github.event.sender.login != 'cypress-bot[bot]' &&
|
||||
github.event.sender.login != 'github-actions[bot]' &&
|
||||
github.event.issue.pull_request == null
|
||||
run: |
|
||||
gh api graphql -f query='
|
||||
query($org: String!, $repo: String!, $project: Int!, $issue: Int!) {
|
||||
|
||||
Reference in New Issue
Block a user