Skip to content

Commit 9892a06

Browse files
committed
chore: test
1 parent 672e5ed commit 9892a06

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Release
22

33
on:
4+
push:
5+
branches:
6+
- develop
47
pull_request:
58
types: [closed]
69
branches:
@@ -11,7 +14,7 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}
1114

1215
jobs:
1316
create-release-pr:
14-
if: github.event.pull_request.merged == true
17+
if: github.event_name == 'push' || github.event.pull_request.merged == true
1518
runs-on: ubuntu-latest
1619
steps:
1720
- name: Checkout
@@ -28,7 +31,6 @@ jobs:
2831
title: "🚀 Release: Merge develop to main"
2932
body: |
3033
## 변경사항
31-
${{ github.event.pull_request.title }}
32-
${{ github.event.pull_request.body }}
34+
${{ github.event_name == 'pull_request' && github.event.pull_request.body || 'Direct push to develop' }}
3335
commit-message: "chore: merge develop to main"
3436
delete-branch: true

0 commit comments

Comments
 (0)