Skip to content

Commit

Permalink
workflows/scheduled: fix excessive-permissions zizmor findings
Browse files Browse the repository at this point in the history
This addresses the `excessive-permissions` error from `zizmor` by
moving the `issues: write` permission to the `audit_online` job where
it's needed.
  • Loading branch information
samford committed Dec 15, 2024
1 parent 5b77c7f commit 8645274
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ concurrency:
group: scheduled
cancel-in-progress: true

permissions:
issues: write

jobs:
create_matrix:
if: startsWith( github.repository, 'Homebrew/' )
Expand Down Expand Up @@ -57,6 +54,8 @@ jobs:
HOMEBREW_GITHUB_API_TOKEN: "${{ github.token }}"
GH_TOKEN: "${{ github.token }}"
REPORTING_ISSUE: 172732
permissions:
issues: write # To create issues
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit 8645274

Please sign in to comment.