Skip to content

Commit

Permalink
Update stale.yml
Browse files Browse the repository at this point in the history
Should fix the conditional

Signed-off-by: Adam Warner <[email protected]>
  • Loading branch information
PromoFaux committed Jul 13, 2023
1 parent 843208b commit 02c8692
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
remove_stale:
# trigger "stale" removal immediately when stale issues are commented on
# we need to explicitly check that the trigger does not run on comment on a PR as
# 'issue_comment' triggers on issues AND PR comments
if: github.event_name == 'issue_comment' && ${{ !github.event.issue.pull_request }}
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#issue_comment-on-issues-only-or-pull-requests-only
if: ${{ !github.event.issue.pull_request }}
permissions:
contents: read # for actions/checkout
issues: write # to edit issues label
Expand Down

0 comments on commit 02c8692

Please sign in to comment.