From cca635c664607a3dd7cd0a0354c955fef67f5986 Mon Sep 17 00:00:00 2001 From: Hamed Karbasi Date: Wed, 6 Dec 2023 13:35:17 +0330 Subject: [PATCH] Modify/release workflow (#29) * remove redundant path from helm release workflow * fix checkout issue in the release ci pipelines --- .github/workflows/build-release.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build-release.yaml b/.github/workflows/build-release.yaml index 53866ce..6f3ba8f 100644 --- a/.github/workflows/build-release.yaml +++ b/.github/workflows/build-release.yaml @@ -40,6 +40,7 @@ jobs: env: OPERATOR_SDK_VERSION: v1.31.0 steps: + - uses: actions/checkout@v3 - name: Install operator-sdk run: | curl -L https://github.com/operator-framework/operator-sdk/releases/download/${OPERATOR_SDK_VERSION}/operator-sdk_linux_amd64 -o /usr/local/bin/operator-sdk @@ -57,6 +58,7 @@ jobs: needs: build-push-docker runs-on: ubuntu-latest steps: + - uses: actions/checkout@v3 - name: helmify run: make helm - name: Chart | Push @@ -74,6 +76,8 @@ jobs: needs: build-push-docker name: release runs-on: ubuntu-latest + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - name: release run: gh release create ${{ github.ref_name }} --generate-notes --verify-tag