From 4d483b47cfb2cc27b71b863196ba03493f1e6438 Mon Sep 17 00:00:00 2001 From: Philippe Serhal Date: Tue, 18 Jun 2024 10:41:12 -0400 Subject: [PATCH 1/2] ci: add Kodiak config to auto-approve Renovate PRs --- .github/.kodiak.toml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .github/.kodiak.toml diff --git a/.github/.kodiak.toml b/.github/.kodiak.toml new file mode 100644 index 00000000..21a3d258 --- /dev/null +++ b/.github/.kodiak.toml @@ -0,0 +1,4 @@ +version = 1 + +[approve] +auto_approve_usernames = ["renovate"] From 3ad31f5c1d88bf9cfcb3ea7e2115738f18c228ae Mon Sep 17 00:00:00 2001 From: Philippe Serhal Date: Tue, 18 Jun 2024 10:44:50 -0400 Subject: [PATCH 2/2] ci: add stalebot workflow --- .github/workflows/stalebot.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/stalebot.yml diff --git a/.github/workflows/stalebot.yml b/.github/workflows/stalebot.yml new file mode 100644 index 00000000..57c7305f --- /dev/null +++ b/.github/workflows/stalebot.yml @@ -0,0 +1,20 @@ +name: 'Mark and close stale issues' +on: + schedule: + - cron: '30 1 * * *' # runs daily at 1:30 https://crontab.guru/#30_1_*_*_* + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + exempt-issue-labels: 'WIP,security,action_item,never_stale' + days-before-issue-stale: 365 + stale-issue-label: 'stale' + stale-issue-message: + 'This issue has been automatically marked as stale because it has not had activity in 1 year. It will be + closed in 7 days if no further activity occurs. Thanks!' + days-before-issue-close: 7 + close-issue-message: 'This issue was closed because it had no activity for over 1 year.' + days-before-pr-close: -1