1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

[stale] Clean up stale job (#10892)

This commit is contained in:
Jesse Hills
2025-09-26 12:02:51 +12:00
committed by GitHub
parent eeb3ccaef7
commit 28199c1cf8

View File

@@ -18,19 +18,19 @@ jobs:
if: github.repository_owner == 'esphome' if: github.repository_owner == 'esphome'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
# The 90 day stale policy for PRs - name: Stale
# - PRs
# - No PRs marked as "not-stale"
# - No Issues (see below)
- name: 90 days stale PRs
uses: actions/stale@3a9db7e6a41a89f618792c92c0e97cc736e1b13f # v10.0.0 uses: actions/stale@3a9db7e6a41a89f618792c92c0e97cc736e1b13f # v10.0.0
with: with:
days-before-stale: 90 debug-only: ${{ github.ref != 'refs/heads/dev' }} # Dry-run when not run on dev branch
days-before-close: 7
days-before-issue-stale: -1
days-before-issue-close: -1
operations-per-run: 150
remove-stale-when-updated: true remove-stale-when-updated: true
operations-per-run: 150
# The 90 day stale policy for PRs
# - PRs
# - No PRs marked as "not-stale"
# - No Issues (see below)
days-before-pr-stale: 90
days-before-pr-close: 7
stale-pr-label: "stale" stale-pr-label: "stale"
exempt-pr-labels: "not-stale" exempt-pr-labels: "not-stale"
stale-pr-message: > stale-pr-message: >
@@ -44,18 +44,12 @@ jobs:
Thank you for your contribution! Thank you for your contribution!
# The 90 day stale policy for Issues # The 90 day stale policy for Issues
# - Issues # - Issues
# - No Issues marked as "not-stale" # - No Issues marked as "not-stale"
# - No PRs (see above) # - No PRs (see above)
- name: 90 days stale issues days-before-issue-stale: 90
uses: actions/stale@3a9db7e6a41a89f618792c92c0e97cc736e1b13f # v10.0.0 days-before-issue-close: 7
with:
days-before-stale: 90
days-before-close: 7
days-before-pr-stale: -1
days-before-pr-close: -1
remove-stale-when-updated: true
stale-issue-label: "stale" stale-issue-label: "stale"
exempt-issue-labels: "not-stale" exempt-issue-labels: "not-stale"
stale-issue-message: > stale-issue-message: >