Skip to content

Commit ce2d0d5

Browse files
committed
CI: Don't push Docker images on PRs by Dependabot
1 parent 070813a commit ce2d0d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/oci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ jobs:
120120
password: ${{ github.token }}
121121

122122
- name: Build and push image
123-
if: ${{ !contains(github.event.head_commit.author.name, 'dependabot') }}
123+
if: ${{ !contains(github.actor, 'dependabot') }}
124124
uses: docker/build-push-action@v4
125125
with:
126126
context: .

0 commit comments

Comments
 (0)