Skip to content

Commit

Permalink
ci: set minimal permissions to GitHub workflows (#73)
Browse files Browse the repository at this point in the history
Signed-off-by: Diogo Teles Sant'Anna <[email protected]>
  • Loading branch information
diogoteles08 committed Aug 30, 2023
1 parent b9c1fbd commit 8a0bf06
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
push:
branches:
- master

permissions:
contents: read

jobs:
test:
strategy:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/lsif.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: LSIF
on:
- push

permissions:
contents: read

jobs:
lsif-go:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8a0bf06

Please sign in to comment.