Skip to content

Add manual Cloud Run invocation workflow#50

Merged
Pigbibi merged 1 commit into
mainfrom
codex/cloud-run-manual-invoke
May 7, 2026
Merged

Add manual Cloud Run invocation workflow#50
Pigbibi merged 1 commit into
mainfrom
codex/cloud-run-manual-invoke

Conversation

@Pigbibi

@Pigbibi Pigbibi commented May 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add a workflow_dispatch action to invoke HK/SG Cloud Run services through GitHub OIDC
  • validate the target GitHub Environment and service variables before invoking
  • add a shell test covering the workflow wiring

Tests

  • bash tests/test_invoke_cloud_run_workflow.sh
  • bash tests/test_sync_cloud_run_env_workflow.sh
  • /home/ubuntu/Projects/LongBridgePlatform/.venv/bin/python -m ruff check .
  • /home/ubuntu/Projects/LongBridgePlatform/.venv/bin/python -m unittest tests.test_runtime_config_support.RuntimeConfigSupportTests.test_dry_run_only_is_loaded_from_env

@Pigbibi Pigbibi merged commit bf557eb into main May 7, 2026
1 check passed
@Pigbibi Pigbibi deleted the codex/cloud-run-manual-invoke branch May 7, 2026 20:30

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ef94cdb074

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +54 to +55
- name: Authenticate to Google Cloud
uses: google-github-actions/auth@v3

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Add checkout before authenticating to Google Cloud

Insert an actions/checkout step before google-github-actions/auth@v3; otherwise later gcloud commands can fail to authenticate in this workflow. The auth action’s own prerequisites require checkout first because it writes credentials into $GITHUB_WORKSPACE, and this job currently goes straight from input validation to auth, so manual invocations can fail before reaching the Cloud Run call.

Useful? React with 👍 / 👎.

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