mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-03 04:16:03 +02:00
ci: set explicit token permissions (#3225)
This commit is contained in:
parent
f3dd0b8fc9
commit
da159fe65b
4 changed files with 13 additions and 1 deletions
2
.github/workflows/backport.yaml
vendored
2
.github/workflows/backport.yaml
vendored
|
@ -1,4 +1,6 @@
|
|||
name: Backport
|
||||
permissions:
|
||||
contents: read
|
||||
on:
|
||||
pull_request_target:
|
||||
types:
|
||||
|
|
2
.github/workflows/docker-main.yaml
vendored
2
.github/workflows/docker-main.yaml
vendored
|
@ -1,4 +1,6 @@
|
|||
name: Docker Main
|
||||
permissions:
|
||||
contents: read
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
|
6
.github/workflows/release.yaml
vendored
6
.github/workflows/release.yaml
vendored
|
@ -1,4 +1,6 @@
|
|||
name: Release
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on:
|
||||
release:
|
||||
|
@ -7,6 +9,10 @@ on:
|
|||
|
||||
jobs:
|
||||
goreleaser:
|
||||
permissions:
|
||||
contents: write
|
||||
issues: read
|
||||
pull-requests: read
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
DOCKER_CLI_EXPERIMENTAL: "enabled"
|
||||
|
|
4
.github/workflows/test.yaml
vendored
4
.github/workflows/test.yaml
vendored
|
@ -1,10 +1,12 @@
|
|||
name: Test
|
||||
permissions:
|
||||
contents: read
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
name: Test
|
||||
jobs:
|
||||
test:
|
||||
strategy:
|
||||
|
|
Loading…
Add table
Reference in a new issue