Skip to content

Commit

Permalink
fix(github): skip uploading existing chart versions
Browse files Browse the repository at this point in the history
https://github.com/helm/chart-releaser-action?tab=readme-ov-file#inputs

The `release-charts` workflow run every time there is a change in
`main`. Previously it would skip publishing the chart if there was no
version change. With version 1.6.0 of the `chart-releaser-action` the
behaviour changed and this is an error now:

https://github.com/Bonial-International-GmbH/pod-image-swap-webhook/actions/runs/9543210930/job/26299381418

To reinstate the desired behaviour, I set the `skip_existing` input to
on the action.
  • Loading branch information
martinohmann committed Jun 17, 2024
1 parent 27d8de7 commit 487430d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release-charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@ jobs:
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
skip_existing: true

0 comments on commit 487430d

Please sign in to comment.