Skip to content

Commit

Permalink
fix: don't push rust-libp2p-server image for dependabot PRs
Browse files Browse the repository at this point in the history
Pull-Request: #4619.
  • Loading branch information
thomaseizinger authored Oct 10, 2023
1 parent 19c5cf2 commit d3f3445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ jobs:
with:
context: .
file: ./misc/server/Dockerfile
push: ${{ ! github.event.pull_request.head.repo.fork }} # Only push image if we have the required permissions, i.e. not running from a fork
push: ${{ ! github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' }} # Only push image if we have the required permissions, i.e. not running from a fork
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit d3f3445

Please sign in to comment.