aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Yong Tang <yong.tang.github@outlook.com> 2022-01-26 13:32:04 -0800
committerGravatar GitHub <noreply@github.com> 2022-01-26 16:32:04 -0500
commit97d6ec2d39942cd969ee57ee1c9304ad5d8de046 (patch)
tree3334e0e088cc27e99184c88d2318c579321e6b1b
parent49f0562f6c9ed22d12d9f86c8199f5b3e7631a14 (diff)
downloadcoredns-97d6ec2d39942cd969ee57ee1c9304ad5d8de046.tar.gz
coredns-97d6ec2d39942cd969ee57ee1c9304ad5d8de046.tar.zst
coredns-97d6ec2d39942cd969ee57ee1c9304ad5d8de046.zip
Add stale github action (#5128)
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
-rw-r--r--.github/workflows/stale.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
new file mode 100644
index 000000000..49ca57724
--- /dev/null
+++ b/.github/workflows/stale.yml
@@ -0,0 +1,15 @@
+name: 'Close Stale Issues and PRs'
+on:
+ schedule:
+ - cron: '30 1 * * *'
+
+jobs:
+ stale:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/stale@v4
+ with:
+ stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days'
+ stale-pr-message: 'This pull request is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days'
+ days-before-stale: 30
+ days-before-close: 7