Skip to content

Commit 85e813d

Browse files
author
Ben M
authored
chore: fixed problem with this running against PRs which it shouldnt (#26011)
chore: fix to closed issue workflow that was running against PRs incorrectly
1 parent 68656a9 commit 85e813d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/triage_closed_issue_comment.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ jobs:
2626
PROJECT_NUMBER: 9
2727
ISSUE_NUMBER: ${{ github.event.issue.number }}
2828
if: |
29-
github.event.sender.login != 'cypress-bot[bot]' &&
3029
env.COMMENT_ADDED_AFTER_CLOSE == '1' &&
31-
github.event.sender.login != 'github-actions[bot]'
30+
github.event.sender.login != 'cypress-bot[bot]' &&
31+
github.event.sender.login != 'github-actions[bot]' &&
32+
github.event.issue.pull_request == null
3233
run: |
3334
gh api graphql -f query='
3435
query($org: String!, $repo: String!, $project: Int!, $issue: Int!) {

0 commit comments

Comments
 (0)