From de8efa7ea3878f789f7362b2028ee2f62cb2dc61 Mon Sep 17 00:00:00 2001 From: lea Date: Fri, 24 May 2024 06:45:30 -0700 Subject: [PATCH] ci: only run publish actions on um40 --- .github/workflows/build-docker.yml | 4 ++++ .github/workflows/build-katsu.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index 3afc22a..0782a49 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -40,7 +40,10 @@ env: on: push: + branches: [ "um40" ] workflow_dispatch: + pull_request: + branches: [ "um40" ] jobs: #### DOCKER ###### @@ -114,6 +117,7 @@ jobs: fail-fast: false runs-on: ubuntu-latest needs: docker + if: github.event_name != 'pull_request' steps: - name: Install dependencies diff --git a/.github/workflows/build-katsu.yml b/.github/workflows/build-katsu.yml index 1502a22..30b483a 100644 --- a/.github/workflows/build-katsu.yml +++ b/.github/workflows/build-katsu.yml @@ -41,7 +41,10 @@ env: on: push: + branches: [ "um40" ] workflow_dispatch: + pull_request: + branches: [ "um40" ] jobs: #### BASE IMAGES #### @@ -185,6 +188,7 @@ jobs: needs: - live-iso - image + if: github.event_name != 'pull_request' steps: - name: Download artifacts