Merge pull request #11285 from ashishkurmi/main

ci: add minimum GitHub token permissions for workflows
pull/12578/head
Julien Pivotto 2023-07-18 13:22:07 +02:00 committed by GitHub
commit e0502f00c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 19 additions and 0 deletions

View File

@ -4,6 +4,9 @@ on:
paths:
- ".github/workflows/buf-lint.yml"
- "**.proto"
permissions:
contents: read
jobs:
buf:
name: lint

View File

@ -3,6 +3,9 @@ on:
push:
branches:
- main
permissions:
contents: read
jobs:
buf:
name: lint and publish

View File

@ -6,6 +6,10 @@ on:
schedule:
- cron: "26 14 * * 1"
permissions:
contents: read
security-events: write
jobs:
analyze:
name: Analyze

View File

@ -2,6 +2,9 @@ on:
repository_dispatch:
types: [funcbench_start]
name: Funcbench Workflow
permissions:
contents: read
jobs:
run_funcbench:
name: Running funcbench

View File

@ -1,6 +1,9 @@
name: CIFuzz
on:
workflow_call:
permissions:
contents: read
jobs:
Fuzzing:
runs-on: ubuntu-latest

View File

@ -3,6 +3,9 @@ name: Sync repo files
on:
schedule:
- cron: '44 17 * * *'
permissions:
contents: read
jobs:
repo_sync:
runs-on: ubuntu-latest