Skip to content

Commit

Permalink
Adding stale plugin for Github workflows (#188)
Browse files Browse the repository at this point in the history
Co-authored-by: Shishir <[email protected]>
Co-authored-by: Gitesh Koli <[email protected]>
  • Loading branch information
3 people authored Mar 15, 2022
1 parent 72caf9b commit b802bc2
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Mark stale issues and pull requests

on:
schedule:
- cron: '05 00 * * *'

jobs:
stale:

runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
stale-pr-message: >
This pull request has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
stale-issue-label: 'no-issue-activity'
stale-pr-label: 'no-pr-activity'

0 comments on commit b802bc2

Please sign in to comment.