From 0414479a29181bdf73ca37806789a0e2f63aca56 Mon Sep 17 00:00:00 2001 From: Ole Herman Schumacher Elgesem Date: Fri, 5 Jun 2026 18:00:13 +0200 Subject: [PATCH] GH Actions: Enabled stale action to get issues (PRs) Signed-off-by: Ole Herman Schumacher Elgesem --- .github/workflows/stale.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 668489eb4f..d0b2e5d971 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -4,22 +4,22 @@ name: Label and close stale pull requests on: schedule: - - cron: '31 19 * * *' + - cron: "31 19 * * *" workflow_dispatch: jobs: stale: - runs-on: ubuntu-latest permissions: pull-requests: write + issues: read 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." + - 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."