-
Notifications
You must be signed in to change notification settings - Fork 1
refactor: consolidate Firebase deployment steps into reusable workflow #474
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Caution Review failedThe pull request is closed. Walkthrough既存のFirebase Functionsデプロイ手順を共通の再利用可能ワークフローに集約。 Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Dev as Developer
participant GH as GitHub Actions\n(github-apps-cd.yml)
participant RW as Reusable Workflow\n(reusable-deploy-firebase-functions.yml)
participant Auth as Google Auth
participant FB as Firebase Project
Dev->>GH: push/merge (dev or prod)
GH->>RW: invoke (secrets: gha_service_account, firebase_project_id)
RW->>RW: checkout → setup-node(.nvmrc) → npm ci → build → test
RW->>Auth: google-github-actions/auth (credentials_json)
Auth-->>RW: auth token
RW->>FB: firebase-tools deploy --project ${firebase_project_id}
FB-->>RW: deploy result
RW-->>GH: job status
GH-->>Dev: workflow result
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (1)
Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Disabled knowledge base sources:
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (2)
.github/workflows/github-apps-cd.yml(1 hunks).github/workflows/reusable-deploy-firebase-functions.yml(1 hunks)
🧰 Additional context used
🪛 actionlint (1.7.7)
.github/workflows/github-apps-cd.yml
12-12: reusable workflow call ".github/workflows/reusable-deploy-firebase-functions.yml" at "uses" is not following the format "owner/repo/path/to/workflow.yml@ref" nor "./path/to/workflow.yml". see https://docs.github.com/en/actions/learn-github-actions/reusing-workflows for more details
(workflow-call)
19-19: reusable workflow call ".github/workflows/reusable-deploy-firebase-functions.yml" at "uses" is not following the format "owner/repo/path/to/workflow.yml@ref" nor "./path/to/workflow.yml". see https://docs.github.com/en/actions/learn-github-actions/reusing-workflows for more details
(workflow-call)
Summary by CodeRabbit