mirror of
https://github.com/tiennm99/is-a-good-dev.git
synced 2026-10-14 06:17:56 +00:00
Merge pull request #913 from DEV-DIBSTER/main
feat: adding stale workflow
This commit is contained in:
1 file changed
+22
@@ -0,0 +1,22 @@
|
|||||||
|
name: Stale
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 12 * * *"
|
||||||
|
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
label:
|
||||||
|
name: Label
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/stale@v3
|
||||||
|
with:
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
days-before-stale: 3
|
||||||
|
days-before-close: 7
|
||||||
|
stale-issue-message: "This issue has been marked as stale due to inactivity and will be closed. Comment anything on this issue to prevent it"
|
||||||
|
stale-pr-message: "This pull request has been marked as stale due to inactivity and will be closed. Comment anything on this PR to prevent it"
|
||||||
|
exempt-issue-labels: "No-stale"
|
||||||
|
exempt-pr-labels: "No-stale"
|
||||||
Reference in new issue
Block a user