Merge pull request #551 from souleb/token-permissions
Add Permissions to github Workflows
This commit is contained in:
commit
e1655b6b47
|
@ -6,6 +6,9 @@ on:
|
|||
branches:
|
||||
- main
|
||||
|
||||
permissions:
|
||||
contents: read # for actions/checkout to fetch code
|
||||
|
||||
jobs:
|
||||
|
||||
kind-linux-amd64:
|
||||
|
|
|
@ -7,6 +7,9 @@ on:
|
|||
env:
|
||||
REPOSITORY: ${{ github.repository }}
|
||||
|
||||
permissions:
|
||||
contents: read # for actions/checkout to fetch code
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
@ -8,6 +8,10 @@ on:
|
|||
schedule:
|
||||
- cron: '18 10 * * 3'
|
||||
|
||||
permissions:
|
||||
contents: read # for actions/checkout to fetch code
|
||||
security-events: write # for codeQL to write security events
|
||||
|
||||
jobs:
|
||||
fossa:
|
||||
name: FOSSA
|
||||
|
|
Loading…
Reference in New Issue