Skip to content

Commit

Permalink
ci: Restrict permissions of GITHUB_TOKEN (#1189)
Browse files Browse the repository at this point in the history
  • Loading branch information
caspermeijn authored Nov 20, 2024
1 parent 31a55ab commit 5fd9c86
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
merge_group:
branches: [ "master" ]

permissions:
contents: read

env:
PROTOC_VERSION: '3.25.3'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/cifuzz.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: CIFuzz
on: [pull_request]

permissions:
contents: read

jobs:
Fuzzing:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 5fd9c86

Please sign in to comment.