From c3a8d7b43997fd68b5ae31e4d3fbadd162c88048 Mon Sep 17 00:00:00 2001 From: Ole Herman Schumacher Elgesem Date: Mon, 1 Jun 2026 16:55:27 +0200 Subject: [PATCH] GH Actions: Copied stale.yml from core Signed-off-by: Ole Herman Schumacher Elgesem --- .github/workflows/stale.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 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 000000000..668489eb4 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,25 @@ +# For more information, see: +# https://github.com/actions/stale +name: Label and close stale pull requests + +on: + schedule: + - cron: '31 19 * * *' + workflow_dispatch: + +jobs: + stale: + + runs-on: ubuntu-latest + permissions: + pull-requests: write + + steps: + - uses: actions/stale@v5 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-pr-message: 'Marking this PR as stale due to inactivity; it will be closed in 7 days.' + stale-pr-label: 'stale' + days-before-stale: 30 + days-before-close: 7 + close-pr-message: "Closing PR due to inactivity. Feel free to open a new PR if necessary."