From 094f2a65b7e6186e9a3a6c9698ebebd55bea03d4 Mon Sep 17 00:00:00 2001 From: "S. Amir Mohammad Najafi" Date: Tue, 7 Nov 2023 18:11:38 +0330 Subject: [PATCH] fix(workflow): if statement for file change --- .github/workflows/publish-container.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-container.yml b/.github/workflows/publish-container.yml index 2b99bc1..56c3c60 100644 --- a/.github/workflows/publish-container.yml +++ b/.github/workflows/publish-container.yml @@ -48,11 +48,11 @@ jobs: with: filters: | container_folder: - ${{ matrix.name }}/* + README.md + # ${{ matrix.name }}/* - name: ❔ Stop if files not changed - # if: ${{ steps.file_change.outputs.container_folder != 'true' }} - if: ${{ github.event_name != 'pull_request' }} + if: ${{ steps.file_change.outputs.container_folder != 'true' }} run: | gh run cancel ${{ github.run_id }} gh run watch ${{ github.run_id }}