зеркало из https://github.com/github/lock.git
adding permissions to workflows
This commit is contained in:
Родитель
92129e37c9
Коммит
c3eca148d9
|
@ -6,6 +6,9 @@ on:
|
|||
- main
|
||||
- 'releases/*'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
@ -11,6 +11,9 @@ on:
|
|||
- "**.md"
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
package-check:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
@ -6,6 +6,9 @@ on:
|
|||
- main
|
||||
- 'releases/*'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Загрузка…
Ссылка в новой задаче