Skip to content

Commit 3a13a0d

Browse files
committed
chore: release drafter 실행 조건 수정
1 parent 5a5c0e4 commit 3a13a0d

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/drafter.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,12 @@ on:
99
- release # release 브랜치에 푸시될 때 실행
1010
jobs:
1111
build:
12-
#
13-
if: ${{ github.event.workflow_run.conclusion == 'success'}} # 이전 워크플로우가 성공적으로 완료된 경우에만 실행
12+
# release에 push 되거나 || ecs 운영 배포 워크플로우가 성공적으로 완료된 경우에만 실행
13+
if: |
14+
github.event_name == 'push' ||
15+
(github.event_name == 'workflow_run' &&
16+
github.event.workflow_run.conclusion == 'success' &&
17+
github.event.workflow_run.head_branch == 'release')
1418
permissions:
1519
contents: write
1620
pull-requests: write

0 commit comments

Comments
 (0)