Skip docker build/push job for dependabot PRs - #304
Merged
Conversation
Dependabot-triggered workflow runs never receive repository secrets (GitHub withholds them by design), so the GCP Workload Identity auth step always fails on dependabot PRs, showing a false CI failure on every dependency-bump PR that touches uv.lock. Skip the job in that case; the real build/push still runs on merge to main and on release. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
google-github-actions/authstep in the docker workflow always fails on dependabot PRs that touchuv.lock, e.g. Bump pymdown-extensions from 10.21.3 to 11.0.1 #301, Bump gitpython from 3.1.50 to 3.1.58 #300, Bump cryptography from 48.0.1 to 50.0.0 #299, Bump aiohttp from 3.14.1 to 3.14.3 #298, Bump ray from 2.55.0 to 2.56.0 #294, Bump pyasn1 from 0.6.3 to 0.6.4 #292, Bump pillow from 12.2.0 to 12.3.0 #291, Bump vllm from 0.22.0 to 0.24.0 #289, Bump mcp from 1.27.0 to 1.28.1 #288, Bump docker/metadata-action from 6.1.0 to 6.2.0 #285, Bump docker/build-push-action from 7.2.0 to 7.3.0 #284, Bump actions/checkout from 6.0.3 to 7.0.1 #282, Bump google-github-actions/auth from 2 to 3 #281.if: github.event_name != 'pull_request' || github.actor != 'dependabot[bot]'to skip the job in that case instead of reporting a false CI failure. The real image build/push still runs on push tomainand on release.Test plan
main