Skip to content

Commit

Permalink
Add read-only top-level workflow permissions (#953)
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Kaj Kjellerup Nacht <pnacht@google.com>
  • Loading branch information
pnacht committed Mar 16, 2023
1 parent 17ce703 commit d26e01f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/cifuzz.yml
@@ -1,6 +1,9 @@
name: CIFuzz
on: [pull_request]

permissions:
contents: read

concurrency:
group: ${{ github.workflow }} @ ${{ github.ref }}
cancel-in-progress: true
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Expand Up @@ -12,6 +12,9 @@ on:
- "!*.pr*"
- "!*b"

permissions:
contents: read

jobs:
release:
runs-on: "ubuntu-20.04"
Expand Down

0 comments on commit d26e01f

Please sign in to comment.