Skip to content

Commit

Permalink
stale-issues.yml: update to match main configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
BrewTestBot committed Dec 14, 2024
1 parent 3b8e3d9 commit e332150
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/stale-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ on:
- cron: "0 0 * * *"
issue_comment:

permissions:
contents: write
issues: write
pull-requests: write
permissions: {}

defaults:
run:
shell: bash -xeuo pipefail {0}

concurrency:
group: stale-issues
Expand All @@ -31,9 +32,13 @@ jobs:
)
)
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- name: Mark/Close Stale Issues and Pull Requests
uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9
uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 21
Expand All @@ -57,9 +62,13 @@ jobs:
)
)
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- name: Mark/Close Stale `bump-formula-pr` and `bump-cask-pr` Pull Requests
uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9
uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 2
Expand Down

0 comments on commit e332150

Please sign in to comment.