(MAINT) Add labeller and stale GHA workflows
[puppet-modules/puppetlabs-apt.git] / .github / workflows / stale.yml
1 name: Mark stale issues and pull requests
2
3 on:
4   schedule:
5   - cron: "30 1 * * *"
6
7 jobs:
8   stale:
9     runs-on: ubuntu-latest
10     steps:
11     - uses: actions/stale@v3
12       with:
13         repo-token: ${{ secrets.GITHUB_TOKEN }}
14         days-before-stale: 60
15         days-before-close: 7
16         stale-issue-message: 'This issue has been marked as stale because it has been open for a while and has had no recent activity. If this issue is still important to you please drop a comment below and we will add this to our backlog to complete. Otherwise, it will be closed in 7 days.'
17         stale-issue-label: 'stale'
18         stale-pr-message: 'This PR has been marked as stale because it has been open for a while and has had no recent activity. If this PR is still important to you please drop a comment below and we will add this to our backlog to complete. Otherwise, it will be closed in 7 days.'
19         stale-pr-label: 'stale'