Skip to content

Commit

Permalink
Merge pull request #1586 from pi-hole/PromoFaux-patch-1
Browse files Browse the repository at this point in the history
Fix the Stale workflow
  • Loading branch information
PromoFaux authored Jul 14, 2023
2 parents 843208b + 6795a83 commit 1a11413
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 && github.event_name != 'schedule' }}
permissions:
contents: read # for actions/checkout
issues: write # to edit issues label
Expand Down

0 comments on commit 1a11413

Please sign in to comment.