Should prevent the remove stale step from running on schedule from running on

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
Adam Warner 2023-07-12 19:20:38 +01:00
parent 67e4bf4d07
commit 39c1245096
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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