mirror of https://github.com/prometheus/prometheus
Merge pull request #11285 from ashishkurmi/main
ci: add minimum GitHub token permissions for workflowspull/12578/head
commit
e0502f00c8
|
@ -4,6 +4,9 @@ on:
|
||||||
paths:
|
paths:
|
||||||
- ".github/workflows/buf-lint.yml"
|
- ".github/workflows/buf-lint.yml"
|
||||||
- "**.proto"
|
- "**.proto"
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
buf:
|
buf:
|
||||||
name: lint
|
name: lint
|
||||||
|
|
|
@ -3,6 +3,9 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
buf:
|
buf:
|
||||||
name: lint and publish
|
name: lint and publish
|
||||||
|
|
|
@ -6,6 +6,10 @@ on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "26 14 * * 1"
|
- cron: "26 14 * * 1"
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
security-events: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
analyze:
|
analyze:
|
||||||
name: Analyze
|
name: Analyze
|
||||||
|
|
|
@ -2,6 +2,9 @@ on:
|
||||||
repository_dispatch:
|
repository_dispatch:
|
||||||
types: [funcbench_start]
|
types: [funcbench_start]
|
||||||
name: Funcbench Workflow
|
name: Funcbench Workflow
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
run_funcbench:
|
run_funcbench:
|
||||||
name: Running funcbench
|
name: Running funcbench
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
name: CIFuzz
|
name: CIFuzz
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Fuzzing:
|
Fuzzing:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
@ -3,6 +3,9 @@ name: Sync repo files
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '44 17 * * *'
|
- cron: '44 17 * * *'
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
repo_sync:
|
repo_sync:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in New Issue