mirror of
https://github.com/nginx/nginx.git
synced 2026-07-01 14:22:06 +00:00
GH: explicitly set permissions in workflows
Some checks are pending
buildbot / buildbot (push) Waiting to run
Some checks are pending
buildbot / buildbot (push) Waiting to run
These will override the default repo/org GITHUB_TOKEN scope.
This commit is contained in:
parent
072f6fdbac
commit
8f3465ac7f
5 changed files with 16 additions and 0 deletions
3
.github/workflows/buildbot.yml
vendored
3
.github/workflows/buildbot.yml
vendored
|
|
@ -6,6 +6,9 @@ on:
|
|||
- master
|
||||
- 'stable-1.*'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
buildbot:
|
||||
uses: nginx/ci-self-hosted/.github/workflows/nginx-buildbot.yml@main
|
||||
|
|
|
|||
3
.github/workflows/check-commit-message.yaml
vendored
3
.github/workflows/check-commit-message.yaml
vendored
|
|
@ -7,6 +7,9 @@ on:
|
|||
pull_request:
|
||||
types: [ opened, synchronize ]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
check-commit-messages:
|
||||
runs-on: ubuntu-24.04
|
||||
|
|
|
|||
4
.github/workflows/check-pr.yml
vendored
4
.github/workflows/check-pr.yml
vendored
|
|
@ -3,6 +3,10 @@ name: check-pr
|
|||
on:
|
||||
pull_request:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: read
|
||||
|
||||
jobs:
|
||||
check-pr:
|
||||
uses: nginx/ci-self-hosted/.github/workflows/nginx-check-pr.yml@main
|
||||
|
|
|
|||
3
.github/workflows/check-version-bump.yaml
vendored
3
.github/workflows/check-version-bump.yaml
vendored
|
|
@ -4,6 +4,9 @@ on:
|
|||
pull_request:
|
||||
types: [ opened, synchronize ]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
check-version-bump:
|
||||
runs-on: ubuntu-24.04
|
||||
|
|
|
|||
3
.github/workflows/check-whitespace.yaml
vendored
3
.github/workflows/check-whitespace.yaml
vendored
|
|
@ -6,6 +6,9 @@ on:
|
|||
pull_request:
|
||||
types: [ opened, synchronize ]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
check-whitespace:
|
||||
runs-on: ubuntu-24.04
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue