chore(repo): update stale bot configuration (#23255)

This commit is contained in:
Jason Jean 2024-05-08 18:07:51 -04:00 committed by GitHub
parent 4106691d33
commit dc20a3b462
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,7 +4,7 @@ on:
name: Stale Bot workflow name: Stale Bot workflow
permissions: {} permissions: { }
jobs: jobs:
build: build:
@ -16,163 +16,96 @@ jobs:
name: stale name: stale
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
# This handles issues that need more info
- name: stale-more-info-needed - name: stale-more-info-needed
id: stale-more-info-needed id: stale-more-info-needed
uses: actions/stale@v3.0.13 uses: actions/stale@v9.0.0
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 14 days-before-stale: 7
days-before-close: 14 days-before-close: 21
stale-issue-label: "stale" stale-issue-label: "stale"
operations-per-run: 300 operations-per-run: 300
remove-stale-when-updated: true remove-stale-when-updated: true
only-labels: "blocked: more info needed" only-labels: "blocked: more info needed"
stale-issue-message: | stale-issue-message: |
This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs. This issue has been automatically marked as stale because more information has not been provided within 7 days.
If we missed this issue please reply to keep it active. It will be closed in 21 days if no information is provided.
If information has been provided, please reply to keep it active.
Thanks for being a part of the Nx community! 🙏 Thanks for being a part of the Nx community! 🙏
# This handles PRs that need to be rebased
- name: stale-needs-rebase - name: stale-needs-rebase
id: stale-needs-rebase id: stale-needs-rebase
uses: actions/stale@v3.0.13 uses: actions/stale@v9.0.0
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 14 days-before-stale: 7
days-before-close: 14 days-before-close: 21
stale-issue-label: "stale" stale-issue-label: "stale"
operations-per-run: 300 operations-per-run: 300
remove-stale-when-updated: true remove-stale-when-updated: true
only-labels: "blocked: needs rebased" only-labels: "blocked: needs rebased"
stale-issue-message: | stale-issue-message: |
This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs. This PR has been automatically marked as stale because it has not been rebased in 7 days.
If we missed this issue please reply to keep it active. It will be closed in 21 days if it is not rebased.
If the PR has been rebased or you are working on rebasing it, please reply to keep it active.
If you do not have time, please let us know and we can rebase it.
Thanks for being a part of the Nx community! 🙏 Thanks for being a part of the Nx community! 🙏
# This handles issues that do not have a repro
- name: stale-repro-needed - name: stale-repro-needed
id: stale-repro-needed id: stale-repro-needed
uses: actions/stale@v3.0.13 uses: actions/stale@v9.0.0
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 14 days-before-stale: 7
days-before-close: 14 days-before-close: 21
stale-issue-label: "stale" stale-issue-label: "stale"
operations-per-run: 300 operations-per-run: 300
remove-stale-when-updated: true remove-stale-when-updated: true
only-labels: "blocked: repro needed" only-labels: "blocked: repro needed"
stale-issue-message: | stale-issue-message: |
This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs. This issue has been automatically marked as stale because no reproduction was provided within 7 days.
If we missed this issue please reply to keep it active. Please help us help you. Providing a repository exhibiting the issue helps us diagnose and fix the issue.
Any time that we spend reproducing this issue is time taken away from addressing this issue and other issues.
This issue will be closed in 21 days if a reproduction is not provided.
If a reproduction has been provided, please reply to keep it active.
Thanks for being a part of the Nx community! 🙏 Thanks for being a part of the Nx community! 🙏
- name: stale-retry-with-latest - name: stale-retry-with-latest
id: stale-retry-with-latest id: stale-retry-with-latest
uses: actions/stale@v3.0.13 uses: actions/stale@v9.0.0
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 14 days-before-stale: 7
days-before-close: 14 days-before-close: 21
stale-issue-label: "stale" stale-issue-label: "stale"
operations-per-run: 300 operations-per-run: 300
remove-stale-when-updated: true remove-stale-when-updated: true
only-labels: "blocked: retry with latest" only-labels: "blocked: retry with latest"
stale-issue-message: | stale-issue-message: |
This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs. This issue has been automatically marked as stale because no results of retrying on the latest version of Nx was provided within 7 days.
If we missed this issue please reply to keep it active. It will be closed in 21 days if no results are provided.
If the issue is still present, please reply to keep it active.
If the issue was not present, please close this issue.
Thanks for being a part of the Nx community! 🙏 Thanks for being a part of the Nx community! 🙏
# This handles issues are really old and were made with a previous major
- name: stale-bug - name: stale-bug
id: stale-bug id: stale-bug
uses: actions/stale@v3.0.13 uses: actions/stale@v9.0.0
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 180 days-before-stale: 180
days-before-close: 14 days-before-close: 21
stale-issue-label: "stale" stale-issue-label: "stale"
operations-per-run: 300 operations-per-run: 300
remove-stale-when-updated: true remove-stale-when-updated: true
only-labels: "type: bug"
stale-issue-message: | stale-issue-message: |
This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs. This issue has been automatically marked as stale because it hasn't had any activity for 6 months.
If we missed this issue please reply to keep it active. Many things may have changed within this time. The issue may have already been fixed or it may not be relevant anymore.
Thanks for being a part of the Nx community! 🙏 If at this point, this is still an issue, please respond with updated information.
It will be closed in 21 days if no further activity occurs.
- name: stale-cleanup
id: stale-cleanup
uses: actions/stale@v3.0.13
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 180
days-before-close: 14
stale-issue-label: "stale"
operations-per-run: 300
remove-stale-when-updated: true
only-labels: "type: cleanup"
stale-issue-message: |
This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs.
If we missed this issue please reply to keep it active.
Thanks for being a part of the Nx community! 🙏
- name: stale-docs
id: stale-docs
uses: actions/stale@v3.0.13
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 180
days-before-close: 14
stale-issue-label: "stale"
operations-per-run: 300
remove-stale-when-updated: true
only-labels: "type: docs"
stale-issue-message: |
This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs.
If we missed this issue please reply to keep it active.
Thanks for being a part of the Nx community! 🙏
- name: stale-enhancement
id: stale-enhancement
uses: actions/stale@v3.0.13
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 250
days-before-close: 14
stale-issue-label: "stale"
operations-per-run: 300
remove-stale-when-updated: true
only-labels: "type: enhancement"
stale-issue-message: |
This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs.
If we missed this issue please reply to keep it active.
Thanks for being a part of the Nx community! 🙏
- name: stale-feature
id: stale-feature
uses: actions/stale@v3.0.13
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 250
days-before-close: 14
stale-issue-label: "stale"
operations-per-run: 300
remove-stale-when-updated: true
only-labels: "type: feature"
stale-issue-message: |
This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs.
If we missed this issue please reply to keep it active.
Thanks for being a part of the Nx community! 🙏
- name: stale-question
id: stale-question
uses: actions/stale@v3.0.13
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 45
days-before-close: 14
stale-issue-label: "stale"
operations-per-run: 300
remove-stale-when-updated: true
only-labels: "type: question / discussion"
stale-issue-message: |
This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs.
If we missed this issue please reply to keep it active.
Thanks for being a part of the Nx community! 🙏 Thanks for being a part of the Nx community! 🙏