From 2c292e705d4678fe33c4956a3731e5132e890ce6 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sun, 29 Aug 2021 12:37:08 +0200 Subject: [PATCH] Mark and close stale support issues --- .github/workflows/close-stale-support.yml | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/close-stale-support.yml diff --git a/.github/workflows/close-stale-support.yml b/.github/workflows/close-stale-support.yml new file mode 100644 index 000000000..76348915b --- /dev/null +++ b/.github/workflows/close-stale-support.yml @@ -0,0 +1,25 @@ +name: Mark and close stale support issues + +on: + schedule: + - cron: '32 1 * * *' + +jobs: + stale: + + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + + steps: + - uses: actions/stale@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + days-before-stale: 180 + days-before-close: 15 + stale-issue-message: 'This issue has been automatically marked Stale and will be closed in 15 days if no further activity happens.' + stale-issue-label: 'Stale' + only-labels: 'Support' + exempt-all-milestones: true + ascending: true