diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 3ebb6d4..0433245 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -39,6 +39,8 @@ jobs: name: Combine Rocks and Push Multiarch Manifest uses: canonical/k8s-workflows/.github/workflows/assemble_multiarch_image.yaml@main needs: [build-and-push-arch-specifics, run-tests, scan-images] + if: ${{ needs.build-and-push-arch-specifics.outputs.changed-rock-metas != '[]' }} with: - rock-metas: ${{ needs.build-and-push-arch-specifics.outputs.rock-metas }} + rock-metas: ${{ needs.build-and-push-arch-specifics.outputs.changed-rock-metas }} + dry-run: ${{ github.event_name != 'push' }}