Skip to content

Commit 82dadf5

Browse files
chore: Generated commit to update templated files since the last template run up to stackabletech/operator-templating@34039ec (#565)
Reference-to: stackabletech/operator-templating@34039ec (PR-version change conditions to be mutually exclusive)
1 parent afab3d8 commit 82dadf5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ jobs:
356356
# For PRs to be merged against a release branch, use the version that has already been set in the calling script.
357357
# We can't rely on cargo set-version here as we will break semver rules when changing the version to make it
358358
# specific to this PR e.g. 1.2.0 --> 1.2.0-pr678, so set it manually.
359-
if: ${{ github.event_name == 'pull_request' && github.ref != 'refs/heads/main' }}
359+
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref != 'main' }}
360360
env:
361361
PR_NUMBER: ${{ github.event.pull_request.number }}
362362
shell: bash
@@ -440,7 +440,7 @@ jobs:
440440
# For PRs to be merged against a release branch, use the version that has already been set in the calling script.
441441
# We can't rely on cargo set-version here as we will break semver rules when changing the version to make it
442442
# specific to this PR e.g. 1.2.0 --> 1.2.0-pr678, so set it manually.
443-
if: ${{ github.event_name == 'pull_request' && github.ref != 'refs/heads/main' }}
443+
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref != 'main' }}
444444
env:
445445
PR_NUMBER: ${{ github.event.pull_request.number }}
446446
shell: bash

0 commit comments

Comments
 (0)