Conversation
기존 : main 변경 후 : develop
|
Note Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported. |
WalkthroughThe GitHub Actions workflow was updated to trigger the deploy job on pushes to the Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant Dev as Developer
participant GH as GitHub
participant WF as Workflow: fe-ci-cd
participant DEP as Deploy Job
participant S3 as AWS S3
Dev->>GH: Push commit
GH->>WF: Trigger workflow
alt Branch == develop
WF->>DEP: Start deploy job
DEP->>S3: Run `aws s3 sync` (without `--acl public-read`)
S3-->>DEP: Sync objects (default ACLs applied)
DEP-->>WF: Deploy steps complete
else Branch != develop
WF-->>WF: Skip deploy job
end
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| runs-on: ubuntu-latest | ||
| needs: build | ||
| if: github.event_name == 'push' && github.ref == 'refs/heads/main' | ||
| if: github.event_name == 'push' && github.ref == 'refs/heads/develop' |
There was a problem hiding this comment.
Deploy job will never run
The workflow still only triggers on push to main, but this job now requires github.ref == 'refs/heads/develop'. Since pushes to develop never start the workflow, the deploy step is now dead code—deployment will never happen. Update the workflow trigger (or revert the condition) so the deploy job can actually execute.
on:
pull_request:
branches: ['develop']
push:
- branches: ['main']
+ branches: ['develop']📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| if: github.event_name == 'push' && github.ref == 'refs/heads/develop' | |
| on: | |
| pull_request: | |
| branches: ['develop'] | |
| push: | |
| branches: ['develop'] |
🤖 Prompt for AI Agents
.github/workflows/fe-ci-cd.yml around line 117: the deploy job is gated by if:
github.event_name == 'push' && github.ref == 'refs/heads/develop' but the
workflow trigger still only fires on pushes to main, so the deploy job will
never run; fix by either updating the workflow's on.push.branches to include
'develop' (or use a wider pattern like ['main','develop']) so pushes to develop
start the workflow, or revert/change the job condition to match the existing
trigger (e.g., check for refs/heads/main or remove the github.ref check) so the
deploy job can execute.
기존 : main
변경 후 : develop
develop 기준으로 더 빠른 배포 테스트를 위해 수정합니다.
Summary by CodeRabbit