Skip to content

Commit d45f023

Browse files
NarmeenNaveedAhmedJamesSingleton
authored andcommitted
chore(workflows): added Github Action
This PR is for adding GitHub Action to check for stale issues or PRs and closing them.
1 parent a93213c commit d45f023

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/stale.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Mark stale issues and pull requests
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
7+
jobs:
8+
stale:
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/stale@v1
14+
with:
15+
repo-token: ${{ secrets.GITHUB_TOKEN }}
16+
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove no-issue-activity label or comment or this will be closed in 5 days.'
17+
stale-pr-message: 'This pull request is stale because it has been open 30 days with no activity. Remove no-pr-activity label or comment or this will be closed in 5 days.'
18+
stale-issue-label: 'no-issue-activity'
19+
exempt-issue-label: 'enhancement'
20+
stale-pr-label: 'no-pr-activity'
21+
days-before-stale: 30
22+
days-before-close: 5

0 commit comments

Comments
 (0)