Skip to content

Commit 7e66119

Browse files
authored
Merge pull request #1014 from rabbitmq/fix-olm-ci
Add GH_TOKEN to OLM workflow
2 parents e811ae8 + 8dd0b67 commit 7e66119

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/olm.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ jobs:
221221
name: Create branch for Openshift Marketplace PR
222222
runs-on: ubuntu-latest
223223
needs: test-olm-package
224-
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
224+
if: ${{ github.event_name == 'release' || inputs.release == true }}
225225
steps:
226226
- name: Checkout community-operators-prod fork (Openshift Ecosystem)
227227
uses: actions/checkout@v5
@@ -239,6 +239,8 @@ jobs:
239239
- name: Create branch for Openshift Ecosystem PR
240240
env:
241241
BUNDLE_VERSION: ${{ needs.test-olm-package.outputs.olm_package_version }}
242+
GH_PROMPT_DISABLED: 1
243+
GH_TOKEN: ${{ secrets.RABBITMQ_CI_TOKEN }}
242244
run: |
243245
git config user.name "rabbitmq-ci"
244246
git config user.email ${{ secrets.RABBITMQ_CI_EMAIL }}

0 commit comments

Comments
 (0)