Stale bot #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Stale bot | |
on: | |
schedule: | |
- cron: '0 0 * * *' # Run every day at midnight | |
jobs: | |
stale: | |
runs-on: ubuntu-latest | |
if: github.repository == 'callstack/repack' | |
steps: | |
- name: Close stale issues & pull requests | |
uses: actions/stale@v9 | |
with: | |
days-before-stale: 30 | |
days-before-close: 14 | |
stale-issue-message: 'This issue has been marked as stale because it has been inactive for 30 days. Please update this issue or it will be automatically closed in 14 days.' | |
stale-pr-message: 'This pull request has been marked as stale because it has been inactive for 30 days. Please update this pull request or it will be automatically closed in 14 days.' | |
close-issue-message: 'This issue has been automatically closed because it has been inactive for more than 14 days. Please reopen if you want to add more context.' | |
close-pr-message: 'This pull request has been automatically closed because it has been inactive for more than 14 days. Please reopen if you still intend to submit this pull request.' | |
stale-pr-label: status:stale | |
stale-issue-label: status:stale | |
labels-to-remove-when-unstale: status:stale | |
remove-stale-when-updated: true | |
exempt-issue-labels: pinned | |
exempt-pr-labels: pinned | |