Create stale.yml

This commit is contained in:
Alexandre Nunes 2021-06-06 14:54:40 -03:00 committed by GitHub
parent 6b02fc8cac
commit 0949df6be7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

22
.github/workflows/stale.yml vendored Normal file

@ -0,0 +1,22 @@
name: Mark stale issues and pull requests
on:
schedule:
- cron: '00 18 * * *'
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: 'Closing due to inactivity'
stale-pr-message: 'Stale pull request message'
stale-issue-label: 'no-issue-activity'
stale-pr-label: 'no-pr-activity'