From 63b93b54198723f63e7854270673c37a5a895109 Mon Sep 17 00:00:00 2001 From: stefanruvceski Date: Wed, 2 Aug 2023 12:45:52 +0200 Subject: [PATCH 1/2] runner stale bot test --- .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..8fc56ef82ab --- /dev/null +++ b/.github/workflows/stale-bot.yml @@ -0,0 +1,17 @@ +name: ‘Close stale Runner issues’ +on: + workflow_dispatch: + schedule: + - cron: ‘0 0 * * MON’ # 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 \ No newline at end of file From 3038e96f75b2061b541410f59fb1d5825b8fa90c Mon Sep 17 00:00:00 2001 From: Stefan Ruvceski <96768603+ruvceskistefan@users.noreply.github.com> Date: Wed, 2 Aug 2023 13:05:14 +0200 Subject: [PATCH 2/2] Update stale-bot.yml --- .github/workflows/stale-bot.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/stale-bot.yml b/.github/workflows/stale-bot.yml index 8fc56ef82ab..13fc526c431 100644 --- a/.github/workflows/stale-bot.yml +++ b/.github/workflows/stale-bot.yml @@ -2,7 +2,7 @@ name: ‘Close stale Runner issues’ on: workflow_dispatch: schedule: - - cron: ‘0 0 * * MON’ # every monday at midnight + - cron: '0 0 * * 1' # every monday at midnight jobs: stale: runs-on: ubuntu-latest @@ -14,4 +14,4 @@ jobs: exempt-issue-labels: ‘keep’ days-before-stale: 365 days-before-close: 15 - debug-only: true \ No newline at end of file + debug-only: true