diff --git a/.github/workflows/check-demo-consistency.yml b/.github/workflows/check-demo-consistency.yml index 766fde064c..48496d7e25 100644 --- a/.github/workflows/check-demo-consistency.yml +++ b/.github/workflows/check-demo-consistency.yml @@ -18,7 +18,7 @@ jobs: - name: Check for file edits run: | - FILES_CHANGED=$(git diff --name-only ${{ github.event.before }} ${{ github.sha }}) + FILES_CHANGED=$(git diff --name-only origin/main..HEAD) # Check if process-compose.yaml is edited if echo "$FILES_CHANGED" | grep -q "process-compose.yml"; then