diff --git a/.github/workflows/build-apps.yml b/.github/workflows/build-apps.yml index f962c205..194adc74 100644 --- a/.github/workflows/build-apps.yml +++ b/.github/workflows/build-apps.yml @@ -93,7 +93,7 @@ jobs: run: /bin/bash .github/workflows/build-docker.sh $IMAGENAME - name: Check image for wasted space using dive uses: MartinHeinz/dive-action@v0.1.0 - if: ${{ !contains(github.event.head_commit.message, 'skipdive') }} + if: ${{ !contains(github.event.head_commit.message, 'skipdive') && github.ref == 'refs/heads/master'}} with: image: vnmd/${{ env.IMAGENAME }}:${{ env.BUILDDATE }} # github-token: ${{ secrets.GITHUB_TOKEN }}