зеркало из https://github.com/github/go-pipe.git
Merge pull request #26 from github/fix-workflow-permissions
Configure workflow permissions
This commit is contained in:
Коммит
48904b16a6
|
@ -5,6 +5,9 @@ on:
|
|||
branches: [main]
|
||||
pull_request: {}
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
|
|
|
@ -6,6 +6,10 @@ on:
|
|||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
security-events: write
|
||||
|
||||
jobs:
|
||||
codeql:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
@ -3,6 +3,9 @@ name: golangci-lint
|
|||
on:
|
||||
push:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
golangci:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Загрузка…
Ссылка в новой задаче