Skip to content

Commit

Permalink
Merge pull request #1375 from pi-hole/fix/stale
Browse files Browse the repository at this point in the history
Should prevent the remove stale step from running on schedule
  • Loading branch information
PromoFaux authored Jul 12, 2023
2 parents 67e4bf4 + 39c1245 commit 7f2a855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
# 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
# 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 }}
if: ${{ !github.event.issue.pull_request && github.event != 'schedule' }}
permissions:
contents: read # for actions/checkout
issues: write # to edit issues label
Expand Down

0 comments on commit 7f2a855

Please sign in to comment.