We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9e170e commit 3ba31ecCopy full SHA for 3ba31ec
1 file changed
.github/workflows/stale.yml
@@ -29,8 +29,11 @@ jobs:
29
operations-per-run: 300
30
close-issue-reason: 'not_planned'
31
32
- remove_stale: # trigger "stale" removal immediately when stale issues are commented on
33
- if: github.event_name == 'issue_comment'
+ remove_stale:
+ # trigger "stale" removal immediately when stale issues are commented on
34
+ # we need to explicitly check that the trigger does not run on comment on a PR as
35
+ # 'issue_comment' triggers on issues AND PR comments
36
+ if: github.event_name == 'issue_comment' && ${{ !github.event.issue.pull_request }}
37
permissions:
38
contents: read # for actions/checkout
39
issues: write # to edit issues label
0 commit comments