Skip to content

ci: fix double deploy, bump actions#15

Open
lutz-grex wants to merge 1 commit into
nextfrom
ci/fix-gcloud-deploy
Open

ci: fix double deploy, bump actions#15
lutz-grex wants to merge 1 commit into
nextfrom
ci/fix-gcloud-deploy

Conversation

@lutz-grex

Copy link
Copy Markdown
Collaborator

Summary

Two fixes to the cloud-sdk-mcp deploy workflow — kept local (this repo is public and intentionally not on the private shared-workflows):

1. Remove the pull_request: closed trigger (deploy bug).
A merged PR to main fired both the push event and the pull_request closed event → double staging+prod deploy. And since there was no github.event.pull_request.merged guard, closing a PR without merging also deployed to staging+prod. The push trigger alone covers merges. Added workflow_dispatch for manual re-runs instead.

2. Bump actions to node24 releases (clears the Node 20 deprecation warnings, runners force Node 24 from June 16): checkout v4→v6, auth v2→v3, setup-buildx v3→v4, build-push v6→v7, get-gke-credentials v2→v3. Same versions already validated across the migrated service repos.

No changes to the branch→environment matrix, vars, or tagging.

🤖 Generated with Claude Code

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant