Skip to content

Commit

Permalink
build: harden main.yml permissions
Browse files Browse the repository at this point in the history
Signed-off-by: Alex <aleksandrosansan@gmail.com>
  • Loading branch information
sashashura authored and marcphilipp committed May 1, 2023
1 parent e50487c commit 16228f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Expand Up @@ -8,6 +8,9 @@ on:
branches:
- '*'

permissions:
contents: read # to fetch code (actions/checkout)

jobs:

build-and-verify:
Expand Down

0 comments on commit 16228f3

Please sign in to comment.