Skip to content

Commit 8d46994

Browse files
committed
fix: Updating workflow tagging for correct branch context
Signed-off-by: S3B4SZ17 <sebastian.zumbado@sysdig.com>
1 parent 3e340a4 commit 8d46994

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/helm_test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ jobs:
8282
run: ct lint --target-branch ${{ github.event.repository.default_branch }} --chart-dirs charts
8383

8484
- name: Create kind cluster
85-
if: steps.list-changed.outputs.changed == 'true'
85+
if: steps.list-changed.outputs.changed == 'true' || github.ref_name == 'main'
8686
uses: helm/kind-action@v1.12.0
8787

8888
- name: Run chart-testing (install)
89-
if: steps.list-changed.outputs.changed == 'true'
89+
if: steps.list-changed.outputs.changed == 'true' || github.ref_name == 'main'
9090
run: ct install --target-branch ${{ github.event.repository.default_branch }} --chart-dirs charts

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
TAG_CONTEXT: 'repo'
101101
WITH_V: true
102102
PRERELEASE_SUFFIX: "beta"
103-
PRERELEASE: ${{ (github.base_ref == 'beta') && 'true' || (github.base_ref == 'main') && 'false' || (github.base_ref == 'integration') && 'false' || 'true' }}
103+
PRERELEASE: ${{ (github.ref_name == 'beta') && 'true' || (github.ref_name == 'main') && 'false' || (github.ref_name == 'feat/cli-scanner-tool') && 'false' || 'true' }}
104104

105105
- name: Summary
106106
run: |

0 commit comments

Comments
 (0)