Skip to content

Commit

Permalink
fix(ci): move read permissions to job scope (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
miketheman authored Oct 31, 2024
1 parent 97d0d67 commit d9d0419
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@ on:
pull_request:
branches: ["*"]

permissions:
contents: read

jobs:
zizmor:
name: Zizmor latest via Cargo
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
- name: Checkout repository
Expand Down

0 comments on commit d9d0419

Please sign in to comment.