Skip to content

Commit

Permalink
ci: set minimal permisisons on github workflows (#325)
Browse files Browse the repository at this point in the history
Signed-off-by: Diogo Teles Sant'Anna <[email protected]>
  • Loading branch information
diogoteles08 authored Sep 25, 2023
1 parent aa58fcd commit 7e3e91d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches: [ master, qa ]

permissions:
contents: read

jobs:
test-gomod-v2:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches: [ master, qa ]

permissions:
contents: read

jobs:
test-gomod:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 7e3e91d

Please sign in to comment.