From 97c4fe32442f9993733de1f32a7edfe284dd67b7 Mon Sep 17 00:00:00 2001 From: Sebastian Ullrich Date: Tue, 19 Sep 2023 13:53:09 +0200 Subject: [PATCH] chore: CI: label stale PRs --- .github/workflows/stale.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000000..df5d71b7da --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,21 @@ +name: 'Label stale PRs' +on: + schedule: + - cron: '30 1 * * *' + +permissions: + pull-requests: write + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v8 + with: + days-before-stale: -1 + days-before-pr-stale: 30 + days-before-close: -1 + stale-pr-lable: 'stale' + only-labels: 'awaiting-author' + debug-only: true + operations-per-run: 1000 # for dry-run