Skip to content

Commit

Permalink
update conditional for running the job
Browse files Browse the repository at this point in the history
Signed-off-by: Faeka Ansari <[email protected]>
  • Loading branch information
fykaa committed Dec 3, 2024
1 parent 954e22d commit d5ae825
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -335,11 +335,7 @@ jobs:
provenance-name: kargo-cli.intoto.jsonl

update-homebrew-formula:
if: >
github.event_name == 'release' &&
startsWith(github.ref, 'refs/tags/v') &&
!contains(github.ref, '-') &&
github.ref == format('refs/tags/v{0}', steps.latest_release.outputs.version)
if: github.event_name == 'release' && github.event.action == 'released' # Runs only for stable releases
runs-on: ubuntu-latest
needs: [ publish-image, publish-cli ]
steps:
Expand Down

0 comments on commit d5ae825

Please sign in to comment.