Skip to content

Commit

Permalink
CI: skip building dependabot branches, we already build PRs (#1941)
Browse files Browse the repository at this point in the history
Pull request: #1941
  • Loading branch information
lefou committed Jul 12, 2022
1 parent 734e03d commit 1bd8c36
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
jobs:

test:
# don't build dependabot branches on push, we already build them on pull request
if: github.event != 'push' || !startsWith(github.ref, 'refs/heads/dependabot')

strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -54,6 +57,9 @@ jobs:
run: ${{ matrix.buildcmd }}

test-bin-compat:
# don't build dependabot branches on push, we already build them on pull request
if: github.event != 'push' || !startsWith(github.ref, 'refs/heads/dependabot')

strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -84,6 +90,9 @@ jobs:
run: ${{ matrix.buildcmd }}

test-windows:
# don't build dependabot branches on push, we already build them on pull request
if: github.event != 'push' || !startsWith(github.ref, 'refs/heads/dependabot')

strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit 1bd8c36

Please sign in to comment.