From 98a2fd19aed7196ac0b33a4ad17ca8ca54465d59 Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Mon, 11 Nov 2024 11:36:31 -0500 Subject: [PATCH] github: simplify building only on push events Signed-off-by: Simon Deziel --- .github/workflows/builds.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 1c1debaa..ff0c8776 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -1,6 +1,5 @@ name: Builds on: - pull_request: push: branches: - 4.0-edge @@ -33,9 +32,9 @@ jobs: snap: name: Trigger snap build - runs-on: ubuntu-24.04 needs: lxd-migrate - if: ${{ github.repository == 'canonical/lxd-pkg-snap' && github.event_name == 'push' && github.actor != 'dependabot[bot]' }} + runs-on: ubuntu-24.04 + if: ${{ github.repository == 'canonical/lxd-pkg-snap' && github.actor != 'dependabot[bot]' }} steps: - name: Checkout code uses: actions/checkout@v4