diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index 414a5ab75a..6d0ec0feed 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -23,6 +23,9 @@ jobs: outputs: is_latest: ${{ env.IS_LATEST }} steps: + - + name: Checkout + uses: actions/checkout@v4 - name: Check release branch run: | @@ -118,13 +121,6 @@ jobs: echo "COMMIT=${commit_short}" >> $GITHUB_ENV echo "author_name=${author_name}" >> $GITHUB_OUTPUT echo "author_email=${author_email}" >> $GITHUB_OUTPUT - - - name: Import GPG key - id: import_gpg - uses: crazy-max/ghaction-import-gpg@v6 - with: - gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} - passphrase: ${{ secrets.GPG_PASSPHRASE }} - name: Set GoReleaser environment run: | @@ -142,7 +138,6 @@ jobs: COMMIT: ${{ env.COMMIT }} VERSION: ${{ steps.build-meta.outputs.version }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} - name: Publish Krew if: ${{ steps.check-branch.outputs.is_latest == 'true' }} @@ -379,8 +374,7 @@ jobs: if: | (always() && !cancelled()) && needs.release-binaries.result == 'success' && - needs.olm-bundle.result == 'success' && - github.repository_owner == 'cloudnative-pg' + needs.olm-bundle.result == 'success' env: VERSION: ${{ needs.release-binaries.outputs.version }} runs-on: ubuntu-22.04 @@ -420,10 +414,3 @@ jobs: git add bundles/${{ env.VERSION }} git commit -sm "${COMMIT_MESSAGE}" - - - name: Push commit - uses: ad-m/github-push-action@v0.8.0 - with: - github_token: ${{ secrets.REPO_GHA_PAT }} - repository: cloudnative-pg/artifacts - branch: "main"