diff --git a/.github/workflows/php-8_2.yaml b/.github/workflows/php-8_2.yaml index 815edeb4..409d5182 100644 --- a/.github/workflows/php-8_2.yaml +++ b/.github/workflows/php-8_2.yaml @@ -69,7 +69,7 @@ jobs: - name: Build and push Docker image id: build-and-push uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0 - if: !contains(github.ref , 'main') + if: "!contains(github.ref , 'main')" with: context: . push: ${{ github.event_name != 'pull_request' }} diff --git a/.github/workflows/php-8_3.yml b/.github/workflows/php-8_3.yml index 2042d74f..e4dd1d32 100644 --- a/.github/workflows/php-8_3.yml +++ b/.github/workflows/php-8_3.yml @@ -68,7 +68,7 @@ jobs: - name: Build and push Docker image id: build-and-push uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0 - if: !contains(github.ref , 'main') + if: "!contains(github.ref , 'main')" with: context: . push: ${{ github.event_name != 'pull_request' }}