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:
Ben M
2023-03-03 13:54:10 -05:00
committed by GitHub
parent 68656a9848
commit 85e813dc96
@@ -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!) {