From d37b74a278b792c2de0a23d406260cea39084c74 Mon Sep 17 00:00:00 2001 From: Thomas Parrott Date: Mon, 9 Oct 2023 15:47:30 +0100 Subject: [PATCH] github: Skip edge snap build for pushes on branches from dependabot The edge snap build failed anyway because of the inaccessible secret. But its clearer to see it skipped. Signed-off-by: Thomas Parrott --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9b5b796f2fee..2da0825a7d02 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -388,7 +388,7 @@ jobs: name: Trigger snap edge build runs-on: ubuntu-22.04 needs: [code-tests, system-tests, client, documentation] - if: ${{ github.repository == 'canonical/lxd' && github.event_name == 'push'}} + if: ${{ github.repository == 'canonical/lxd' && github.event_name == 'push' && github.actor != 'dependabot[bot]' }} steps: - name: Checkout code uses: actions/checkout@v4