Skip to content

Commit

Permalink
fix(workflows): update image output handling to avoid empty array case
Browse files Browse the repository at this point in the history
  • Loading branch information
0x1026 committed Dec 11, 2024
1 parent 5def2f8 commit 255c991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
permissions:
pull-requests: read
outputs:
images: ${{ steps.filter.outputs.changes || '["all"]' }}
images: ${{ contains(steps.filter.outputs.changes, '[]') && '["all"]' || steps.filter.outputs.changes }}
steps:
# https://github.com/actions/checkout/tree/11bd71901bbe5b1630ceea73d27597364c9af683
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
Expand Down

0 comments on commit 255c991

Please sign in to comment.