From 0334527a0ed951bf651569c43aa49ec2f8a01a13 Mon Sep 17 00:00:00 2001 From: Chef Jerry Date: Thu, 28 Dec 2023 09:24:05 +0800 Subject: [PATCH] ci: stale --- .github/workflows/stale.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/stale.yaml diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml new file mode 100644 index 00000000..c4ec7abe --- /dev/null +++ b/.github/workflows/stale.yaml @@ -0,0 +1,28 @@ +name: "Close stale issues and PRs" +on: + workflow_dispatch: + schedule: + # 01:30 UTC + - cron: "30 1 * * *" + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + days-before-stale: 7 + days-before-close: 3 + remove-stale-when-updated: true + stale-issue-label: "stale" + stale-issue-message: > + This issue has now been marked as stale and will be closed if no + further activity occurs. Thank you for your contributions ❤ . + stale-pr-message: > + Note - this is not something we expect pull requests for. Unless + you've been specifically asked by someone from PCS team please do no + submit PRs to be listed on default PCS list. You can still trade your + tokens on PCS exchange by pasting your address into the token field. + + This pull request has now been marked as stale and will be closed if + no further activity occurs. Thank you for your contributions ❤ .