From adaf2b07502e9ed91290873ad8465051c6fd814f Mon Sep 17 00:00:00 2001 From: Adam Cooke Date: Tue, 19 Mar 2024 16:54:18 +0000 Subject: [PATCH] chore(github-actions): don't run for dependabot or release-please PRs and fetch whole repo --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 17e6bff..05156ac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,9 +63,14 @@ jobs: name: Release (branch) runs-on: ubuntu-latest needs: [build] - if: startsWith(github.ref, 'refs/heads/') + if: >- + startsWith(github.ref, 'refs/heads/') && + startsWith(github.ref, 'refs/heads/release-please-') != true && + startsWith(github.ref, 'refs/heads/dependabot/') != true steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - uses: docker/setup-qemu-action@v3 - uses: docker/setup-buildx-action@v2 - uses: docker/login-action@v2