Skip to content

Commit 05456c9

Browse files
committed
Invert logic
Avoid double negation which is error prone.
1 parent d9c8501 commit 05456c9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ jobs:
4646
--${{ matrix.architecture }} \
4747
--target /data \
4848
--generic ${{ github.sha }}
49-
no-pull: "true"
49+
pull: "false"

action.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ inputs:
55
description: "Arguments passed to the builder"
66
required: true
77
default: "--help"
8-
no-pull:
8+
pull:
99
description: "Do not pull the latest version of builder (for testing)"
1010
required: false
11-
default: "false"
11+
default: "true"
1212
runs:
1313
using: "composite"
1414
steps:
@@ -27,7 +27,7 @@ runs:
2727
echo "version=${input}" >> "$GITHUB_OUTPUT"
2828
2929
- shell: bash
30-
if: ${{ inputs.no-pull == 'false' }}
30+
if: ${{ inputs.pull == 'true' }}
3131
run: |
3232
docker pull ghcr.io/home-assistant/amd64-builder:${{ steps.version.outputs.version }}
3333
cosign verify \

0 commit comments

Comments
 (0)