From 06f0eeb282749b0bdc6a230d09e333d72904ee8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciek=20Go=C5=82aszewski?= Date: Wed, 7 Aug 2024 20:40:09 +0200 Subject: [PATCH 1/2] Update pull_request.yaml after KU-1195 --- .github/workflows/pull_request.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 3ebb6d4..10bf287 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -39,6 +39,7 @@ 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' }} From ed166cd7e4c1164cebb3dc628c1d80564281dc40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciek=20Go=C5=82aszewski?= Date: Thu, 8 Aug 2024 21:53:21 +0200 Subject: [PATCH 2/2] Update .github/workflows/pull_request.yaml --- .github/workflows/pull_request.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 10bf287..0433245 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -42,4 +42,5 @@ jobs: if: ${{ needs.build-and-push-arch-specifics.outputs.changed-rock-metas != '[]' }} with: rock-metas: ${{ needs.build-and-push-arch-specifics.outputs.changed-rock-metas }} + dry-run: ${{ github.event_name != 'push' }}