Skip to content

Commit

Permalink
workflow/deploy: fix 'if' condition
Browse files Browse the repository at this point in the history
I'm wondering why this wasn't figured out by GHA on the PR that did
the change. Can't be that hard.

Signed-off-by: Stephan Renatus <[email protected]>
  • Loading branch information
srenatus committed Jul 8, 2024
1 parent 632dee8 commit 9f878cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-22.04
needs:
- release
if: contains(needs.release.outputs.publishedPackages.*.name, "@styra/opa")
if: ${{ contains(needs.release.outputs.publishedPackages.*.name, "@styra/opa") }}
permissions:
contents: read
id-token: write # OIDC ID token for authentication with JSR
Expand Down

0 comments on commit 9f878cf

Please sign in to comment.