From e350f35217ffb5381a9da835f0abafd7e185e674 Mon Sep 17 00:00:00 2001 From: Stefan Ruvceski <96768603+ruvceskistefan@users.noreply.github.com> Date: Tue, 8 Aug 2023 16:44:56 +0200 Subject: [PATCH] Runner stale bot (#2729) * runner stale bot test * Update stale-bot.yml --- .github/workflows/stale-bot.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/stale-bot.yml diff --git a/.github/workflows/stale-bot.yml b/.github/workflows/stale-bot.yml new file mode 100644 index 00000000000..13fc526c431 --- /dev/null +++ b/.github/workflows/stale-bot.yml @@ -0,0 +1,17 @@ +name: ‘Close stale Runner issues’ +on: + workflow_dispatch: + schedule: + - cron: '0 0 * * 1' # every monday at midnight +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v8 + with: + stale-issue-message: ‘This issue is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 15 days.’ + close-issue-message: ‘This issue was closed because it has been stalled for 15 days with no activity.’ + exempt-issue-labels: ‘keep’ + days-before-stale: 365 + days-before-close: 15 + debug-only: true