From 8e1c38e1807e8cbb95a577682dc75300bc04a51d Mon Sep 17 00:00:00 2001 From: lifeadventurer Date: Mon, 19 Feb 2024 14:06:57 +0800 Subject: [PATCH] chore: add stale PR workflow --- .github/workflows/stale-pr.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/stale-pr.yml diff --git a/.github/workflows/stale-pr.yml b/.github/workflows/stale-pr.yml new file mode 100644 index 0000000..2a5bbaf --- /dev/null +++ b/.github/workflows/stale-pr.yml @@ -0,0 +1,17 @@ +name: Mark Stale PRs + +on: + schedule: + - cron: '30 20 * * *' + +permissions: + pull-requests: write + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v8 + with: + stale-pr-message: 'This PR is stale. Please trigger a re-run of the PR check action.' + days-before-stale: 7 \ No newline at end of file