Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update stale bot config #774

Merged
merged 4 commits into from
Nov 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,21 +1,25 @@
name: Close Stale Issues
name: Stale bot
on:
schedule:
- cron: '0 0 * * *' # Run every day at midnight
jobs:
close_stale_prs:
stale:
runs-on: ubuntu-latest
if: github.repository == 'callstack/repack'
steps:
- name: Close stale pull requests
- name: Close stale issues & pull requests
uses: actions/stale@v9
with:
days-before-stale: 30
days-before-pr-close: 60
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 60 days. Please update this pull request 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: stale
stale-issue-label: stale
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