From fc47e4225a09a4acc556975b180f1543b83caf4a Mon Sep 17 00:00:00 2001 From: Quentin Kaiser Date: Sat, 20 Jan 2024 17:46:27 +0100 Subject: [PATCH] ci: do not build and push Docker images on PRs from dependabot. Dependabot does not possess the required privileges to push to our Docker registry, so there's no point building and pushing the image at that point. --- .github/workflows/build-publish-image.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-publish-image.yml b/.github/workflows/build-publish-image.yml index fd962eed74..98b53f4c70 100644 --- a/.github/workflows/build-publish-image.yml +++ b/.github/workflows/build-publish-image.yml @@ -5,8 +5,8 @@ on: branches: - main pull_request: - branches: - - '**' + branches-ignore: + - 'dependabot/*' env: DOCKER_IMAGE: ghcr.io/onekey-sec/unblob