From f8458f39a586b8377a537f18b997117a5c15f320 Mon Sep 17 00:00:00 2001 From: Adam Kaplan Date: Mon, 24 Jun 2024 11:32:42 -0400 Subject: [PATCH] fix: Add --yes to cosign Newer cosign by default has an interactive prompt. Pass the `--yes` option to acknowledge the prompt ahead of time. Signed-off-by: Adam Kaplan --- .github/workflows/release.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 354c7f5f..ea00dcfb 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -31,7 +31,7 @@ jobs: fetch-depth: 0 # Fetch all history, needed for release note generation. # Install tools - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: 1.21.x cache: true @@ -54,7 +54,8 @@ jobs: grep -o "ghcr.io[^\"]*" "${GITHUB_WORKSPACE}/_output/olm/bundle/manifests/shipwright-operator.clusterserviceversion.yaml" | uniq | xargs -n 1 cosign sign \ -a sha=${{ github.sha }} \ -a run_id=${{ github.run_id }} \ - -a run_attempt=${{ github.run_attempt }} + -a run_attempt=${{ github.run_attempt }} \ + --yes - name: Build Release Changelog env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}