Skip to content

Commit 02ab031

Browse files
committed
fix: Add (currently) still required pull-requests: write permission
Required to remove `ok-to-test` labels from PRs until gardener/cc-utils#1529 is merged. Signed-off-by: Jonas Brand (8R0WNI3) <j.brand@sap.com>
1 parent 076ad39 commit 02ab031

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
version-commit-callback-action-path: .github/actions/prepare-release
2424
permissions:
2525
id-token: write
26+
pull-requests: write # required until https://github.com/gardener/cc-utils/pull/1529 is merged
2627

2728
oci-images:
2829
name: Build OCI-Images

.github/workflows/non-release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
contents: read
3232
packages: write
3333
id-token: write
34+
pull-requests: write
3435

3536
component-descriptor:
3637
if: ${{ github.event_name != 'pull_request_target' || (github.event_name == 'pull_request_target' && github.event.label.name == vars.DEFAULT_LABEL_OK_TO_TEST && vars.DEFAULT_LABEL_OK_TO_TEST != '') }}

.github/workflows/release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
contents: read
2929
packages: write
3030
id-token: write
31+
pull-requests: write
3132
with:
3233
mode: release
3334
release-version: ${{ inputs.release-version }}

0 commit comments

Comments
 (0)