From 39c1245096e4aa15c50cb7d1c0c782de2431c9d1 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Wed, 12 Jul 2023 19:20:38 +0100 Subject: [PATCH] Should prevent the remove stale step from running on schedule from running on Signed-off-by: Adam Warner --- .github/workflows/stale.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index b7b76ed..14114da 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -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