gh-127785: Reduce permissions in the check labels
workflow (#130596)
This commit is contained in:
parent
daeb0efaf4
commit
5ba69e747f
6
.github/workflows/require-pr-label.yml
vendored
6
.github/workflows/require-pr-label.yml
vendored
@ -10,8 +10,7 @@ jobs:
|
|||||||
if: github.repository_owner == 'python'
|
if: github.repository_owner == 'python'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
issues: write
|
pull-requests: read
|
||||||
pull-requests: write
|
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -28,8 +27,7 @@ jobs:
|
|||||||
if: github.repository_owner == 'python'
|
if: github.repository_owner == 'python'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
issues: write
|
pull-requests: read
|
||||||
pull-requests: write
|
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user