From 874783e805bd6e20d928ed28f538a97f0f6af7ce Mon Sep 17 00:00:00 2001 From: Aitor Perez <1515757+Zerpet@users.noreply.github.com> Date: Tue, 12 Aug 2025 11:44:01 +0100 Subject: [PATCH 1/2] ci: add GH_TOKEN to OLM workflow --- .github/workflows/olm.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/olm.yml b/.github/workflows/olm.yml index 8e92fa01..5532f3eb 100644 --- a/.github/workflows/olm.yml +++ b/.github/workflows/olm.yml @@ -239,6 +239,8 @@ jobs: - name: Create branch for Openshift Ecosystem PR env: BUNDLE_VERSION: ${{ needs.test-olm-package.outputs.olm_package_version }} + GH_PROMPT_DISABLED: 1 + GH_TOKEN: ${{ secrets.RABBITMQ_CI_TOKEN }} run: | git config user.name "rabbitmq-ci" git config user.email ${{ secrets.RABBITMQ_CI_EMAIL }} From 8dd0b67b4af3e017f754b5dd5f62ba45f2bd3f85 Mon Sep 17 00:00:00 2001 From: Aitor Perez <1515757+Zerpet@users.noreply.github.com> Date: Tue, 12 Aug 2025 13:34:59 +0100 Subject: [PATCH 2/2] Fix conditional to open PRs in OLM workflow --- .github/workflows/olm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/olm.yml b/.github/workflows/olm.yml index 5532f3eb..7296b5a3 100644 --- a/.github/workflows/olm.yml +++ b/.github/workflows/olm.yml @@ -221,7 +221,7 @@ jobs: name: Create branch for Openshift Marketplace PR runs-on: ubuntu-latest needs: test-olm-package - if: ${{ startsWith(github.ref, 'refs/tags/v') }} + if: ${{ github.event_name == 'release' || inputs.release == true }} steps: - name: Checkout community-operators-prod fork (Openshift Ecosystem) uses: actions/checkout@v5