ci: tighten several GHActions a bit more

with https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#permissions
This commit is contained in:
Evgeny Vereshchagin
2021-11-13 22:17:21 +03:00
parent 76a7c636a9
commit 311956ccd9
7 changed files with 17 additions and 0 deletions
+2
View File
@@ -12,6 +12,8 @@ on:
- 'src/**'
- 'test/fuzz/**'
permissions: read-all
jobs:
build:
runs-on: ubuntu-20.04
+3
View File
@@ -4,6 +4,9 @@
# See: https://google.github.io/oss-fuzz/getting-started/continuous-integration/
name: CIFuzz
permissions: read-all
on:
pull_request:
paths:
+2
View File
@@ -9,6 +9,8 @@ on:
# Run Coverity daily at midnight
- cron: '0 0 * * *'
permissions: read-all
jobs:
build:
runs-on: ubuntu-20.04
+4
View File
@@ -7,6 +7,10 @@ name: "Pull Request Labeler"
on:
- pull_request_target
permissions:
contents: read
pull-requests: write
jobs:
triage:
runs-on: ubuntu-latest
+2
View File
@@ -10,6 +10,8 @@ on:
- main
- v[0-9]+-stable
permissions: read-all
jobs:
build:
name: Lint Code Base
+2
View File
@@ -14,6 +14,8 @@ on:
- main
- v[0-9]+-stable
permissions: read-all
jobs:
ci:
runs-on: ubuntu-20.04
+2
View File
@@ -9,6 +9,8 @@ on:
- main
- v[0-9]+-stable
permissions: read-all
jobs:
build:
runs-on: ubuntu-20.04