Skip to content

Commit 5e00436

Browse files
authored
fix: only release the chart if it is pushed to master (#482)
1 parent 0424c07 commit 5e00436

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ jobs:
7474
tag_name: ${{ steps.git_tag.outputs.tag }}
7575
release_name: Release ${{ steps.git_tag.outputs.tag }}
7676
body: ${{ steps.git_tag.outputs.changes }}
77-
- name: Prepare chart for publishing
77+
- if: github.ref == 'refs/heads/master'
78+
name: Prepare chart for publishing
7879
id: chart_prepare
7980
run: |
8081
# Release new chart only if its version changes

0 commit comments

Comments
 (0)