-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: simplify if statements in workflows #1159
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Paul Meyer <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I roughly have in mind that bracing these like we did before was necessary for some reason. Do you still remember? Generally, if the CI continues to work as expected (which it seems to do based on the tests run on this PR), I'm fine with the change.
@@ -33,7 +33,7 @@ jobs: | |||
packages: write | |||
steps: | |||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |||
- if: ${{ !inputs.self-hosted }} | |||
- if: (!inputs.self-hosted) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need the parentheses here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, otherwise it's interpreted as yaml foo
If is always interpreted, so braces aren't needed. |
Thanks! Good to merge for me then. |
No description provided.