Adjust stale bot policy for PRs (#105280)
This commit is contained in:
parent
156dac394a
commit
0eb7034f89
1 changed files with 8 additions and 4 deletions
12
.github/workflows/stale.yml
vendored
12
.github/workflows/stale.yml
vendored
|
@ -11,16 +11,16 @@ jobs:
|
||||||
if: github.repository_owner == 'home-assistant'
|
if: github.repository_owner == 'home-assistant'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
# The 90 day stale policy for PRs
|
# The 60 day stale policy for PRs
|
||||||
# Used for:
|
# Used for:
|
||||||
# - PRs
|
# - PRs
|
||||||
# - No PRs marked as no-stale
|
# - No PRs marked as no-stale
|
||||||
# - No issues (-1)
|
# - No issues (-1)
|
||||||
- name: 90 days stale PRs policy
|
- name: 60 days stale PRs policy
|
||||||
uses: actions/stale@v9.0.0
|
uses: actions/stale@v9.0.0
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
days-before-stale: 90
|
days-before-stale: 60
|
||||||
days-before-close: 7
|
days-before-close: 7
|
||||||
days-before-issue-stale: -1
|
days-before-issue-stale: -1
|
||||||
days-before-issue-close: -1
|
days-before-issue-close: -1
|
||||||
|
@ -33,7 +33,11 @@ jobs:
|
||||||
pull request has been automatically marked as stale because of that
|
pull request has been automatically marked as stale because of that
|
||||||
and will be closed if no further activity occurs within 7 days.
|
and will be closed if no further activity occurs within 7 days.
|
||||||
|
|
||||||
Thank you for your contributions.
|
If you are the author of this PR, please leave a comment if you want
|
||||||
|
to keep it open. Also, please rebase your PR onto the latest dev
|
||||||
|
branch to ensure that it's up to date with the latest changes.
|
||||||
|
|
||||||
|
Thank you for your contribution!
|
||||||
|
|
||||||
# Generate a token for the GitHub App, we use this method to avoid
|
# Generate a token for the GitHub App, we use this method to avoid
|
||||||
# hitting API limits for our GitHub actions + have a higher rate limit.
|
# hitting API limits for our GitHub actions + have a higher rate limit.
|
||||||
|
|
Loading…
Add table
Reference in a new issue