Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/frontend-ci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
name: Frontend-CI

on:
# ๋ฐฐํฌ ๊ฒŒ์ดํŠธ: main์œผ๋กœ ๊ฐ€๋Š” PR์—์„œ๋งŒ CI ์‹คํ–‰
pull_request:
branches: [main, develop]
branches: [main]
types: [opened, reopened, synchronize, ready_for_review]
Comment on lines 5 to +7

Choose a reason for hiding this comment

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

[P1] CI never runs when PR retargeted to main

Restricting pull_request.types to opened, reopened, synchronize, and ready_for_review unintentionally drops the edited event. If a feature PR is initially opened against develop (so CI doesnโ€™t run) and later retargeted to main, GitHub only emits an edited event, so this workflow never fires and the code can merge into main without any CI checks. Add edited (or remove the types filter) so retargeting a PR to main still triggers the pipeline.

Useful? React with ๐Ÿ‘ย / ๐Ÿ‘Ž.


# ๋น ๋ฅธ ํ”ผ๋“œ๋ฐฑ: ๊ธฐ๋Šฅ/์ž‘์—… ๋ธŒ๋žœ์น˜์— push๋  ๋•Œ CI ์‹คํ–‰
push:
branches:
- "Feature/*"
Expand All @@ -12,6 +16,9 @@ on:
- "Test/*"
- "Refactor/*"

# (์„ ํƒ) Actions ํƒญ์—์„œ ์ˆ˜๋™ ์‹คํ–‰ ๋ฒ„ํŠผ
workflow_dispatch: {}

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down