Minimize permissions to CI workflows (#133)
Set only read permission on CI workflows since they don't need write access. Fixes #132.
This commit is contained in:
3
.github/workflows/fossa.yaml
vendored
3
.github/workflows/fossa.yaml
vendored
@@ -1,6 +1,9 @@
|
||||
name: FOSSA Analysis
|
||||
on: push
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
3
.github/workflows/go.yml
vendored
3
.github/workflows/go.yml
vendored
@@ -7,6 +7,9 @@ on:
|
||||
pull_request:
|
||||
branches: ['*']
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
Reference in New Issue
Block a user