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:
parent
67e4bf4d07
commit
39c1245096
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue