Skip to content

Commit

Permalink
chore(github-actions): don't run for dependabot or release-please PRs…
Browse files Browse the repository at this point in the history
… and fetch whole repo
  • Loading branch information
adamcooke committed Mar 19, 2024
1 parent 64bc7dc commit adaf2b0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit adaf2b0

Please sign in to comment.