Skip to content

Commit

Permalink
ci: don't check files when manually passing image
Browse files Browse the repository at this point in the history
  • Loading branch information
EdieLemoine committed Sep 19, 2024
1 parent 6712402 commit e2fd468
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:

- uses: tj-actions/changed-files@v45
id: changed-files
if: inputs.image == ''
with:
files: 'images/${{ matrix.image }}/**'

Expand All @@ -50,14 +51,6 @@ jobs:
echo "filename=.lock-$IMAGE.txt" >> $GITHUB_OUTPUT
echo "artifact-name=workflow-lock-$IMAGE" >> $GITHUB_OUTPUT
- if: steps.prepare.outputs.run == 'false'
env:
IMAGE: ${{ matrix.image }}
shell: bash
#language=bash
run: |
echo "➖ No changes detected for $IMAGE." >> $GITHUB_STEP_SUMMARY
- name: 'Check if lock file exists'
if: steps.prepare.outputs.run == 'true'
uses: ./.github/actions/check-artifact
Expand Down

0 comments on commit e2fd468

Please sign in to comment.