diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 393a53d93..2aa9bdb9f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -16,9 +16,8 @@ jobs: uses: gardener/cc-utils/.github/workflows/prepare.yaml@master with: mode: ${{ inputs.mode }} - version-commit-callback-action-path: permissions: - contents: read + id-token: write oci-images: name: Build OCI-Images @@ -53,7 +52,6 @@ jobs: oci-repository: ${{ matrix.args.oci-repository }} oci-platforms: linux/amd64,linux/arm64 ocm-labels: ${{ toJSON(matrix.args.ocm-labels) }} - extra-tags: sast-lint: uses: gardener/cc-utils/.github/workflows/sastlint-ocm.yaml@master diff --git a/.github/workflows/non-release.yaml b/.github/workflows/non-release.yaml index 7ac3f6cca..14a687882 100644 --- a/.github/workflows/non-release.yaml +++ b/.github/workflows/non-release.yaml @@ -10,7 +10,7 @@ jobs: mode: snapshot secrets: inherit permissions: - contents: write + contents: read packages: write id-token: write @@ -18,7 +18,6 @@ jobs: uses: gardener/cc-utils/.github/workflows/post-build.yaml@master needs: - build - secrets: inherit permissions: id-token: write contents: write diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9b880070f..847714333 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -12,8 +12,9 @@ on: jobs: build: uses: ./.github/workflows/build.yaml + secrets: inherit permissions: - contents: write + contents: read id-token: write packages: write with: