Skip to content

Commit

Permalink
Invert logic
Browse files Browse the repository at this point in the history
Avoid double negation which is error prone.
  • Loading branch information
agners committed Aug 14, 2024
1 parent d9c8501 commit 05456c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ jobs:
--${{ matrix.architecture }} \
--target /data \
--generic ${{ github.sha }}
no-pull: "true"
pull: "false"
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ inputs:
description: "Arguments passed to the builder"
required: true
default: "--help"
no-pull:
pull:
description: "Do not pull the latest version of builder (for testing)"
required: false
default: "false"
default: "true"
runs:
using: "composite"
steps:
Expand All @@ -27,7 +27,7 @@ runs:
echo "version=${input}" >> "$GITHUB_OUTPUT"
- shell: bash
if: ${{ inputs.no-pull == 'false' }}
if: ${{ inputs.pull == 'true' }}
run: |
docker pull ghcr.io/home-assistant/amd64-builder:${{ steps.version.outputs.version }}
cosign verify \
Expand Down

0 comments on commit 05456c9

Please sign in to comment.