Commit 1b9100b
authored
check for string true rather than existence in setup-python-keyring (#41)
We saw builds breaking because `python -m pip install
"keyrings-chainguard-libraries"` was executing on custom runners which
don't have the `python` executable installed. The intent seems to be
that this step only runs when `setup-python-keyring` is overriden to
`true`, and not by default, but the current implementation will always
run it (the `if` statement as currently written evaluates to `true`
because the variable exists). This fixes the `if` statement to only
evaluate to `true` if `setup-python-keyring` has been overridden to
`true`.1 parent f2fe096 commit 1b9100b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
| 203 | + | |
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| |||
0 commit comments