Skip to content

Commit 418dd78

Browse files
committed
Run publish charts on releases and push events
1 parent fe34aba commit 418dd78

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/publish-helm.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ permissions:
44
contents: read
55

66
on:
7+
release:
8+
types:
9+
- published
710
push:
811
branches:
912
- main
@@ -20,7 +23,7 @@ on:
2023
jobs:
2124
publish-charts:
2225
runs-on: ubuntu-latest
23-
if: contains(github.event.pull_request.labels.*.name, 'ok-to-chart')
26+
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'ok-to-chart')
2427
steps:
2528
- name: Check out repository
2629
uses: actions/checkout@v4

0 commit comments

Comments
 (0)