Skip to content

Commit

Permalink
chore: don't build images for dependabot PRs
Browse files Browse the repository at this point in the history
dependabot doesn't have permission to push to the image registry, so any
attempts cause CI to fail.
  • Loading branch information
smlx committed Apr 12, 2022
1 parent 3fe4e11 commit 7127ebe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
name: dist.tar
path: dist.tar
buildimage:
if: ${{ !startsWith(github.head_ref, 'dependabot/') }}
strategy:
matrix:
binary:
Expand All @@ -35,8 +36,6 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- name: Debug head ref
run: echo ${{ github.head_ref }}
- name: Checkout
uses: actions/checkout@v3
- name: Download binaries tar file
Expand Down

0 comments on commit 7127ebe

Please sign in to comment.