Skip to content

Commit 46e5bc1

Browse files
authored
Update chart-workflow.yaml
1 parent b2acaba commit 46e5bc1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/chart-workflow.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ jobs:
77
lint-test:
88
name: "Lint and Test"
99
runs-on: ubuntu-22.04
10+
if: github.ref != 'refs/heads/main'
1011
steps:
1112
- name: "Checkout"
1213
uses: actions/checkout@v2.4.2
@@ -62,7 +63,7 @@ jobs:
6263
name: Release Chart on Nexus
6364
runs-on: ubuntu-22.04
6465
needs: lint-test
65-
if: github.ref == 'refs/heads/main'
66+
if: ${{ always() }} && github.ref == 'refs/heads/main'
6667
steps:
6768
- name: Checkout
6869
uses: actions/checkout@v2

0 commit comments

Comments
 (0)