Skip to content

Commit eec855e

Browse files
author
Eric
committed
수동으로 트리거 동작했을 땐 문제생성만 되도록
1 parent 556fdef commit eec855e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/merge-and-generate-problems.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ jobs:
3535
- name: Merge All Open PRs
3636
id: merge-prs
3737
run: |
38+
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
39+
echo "Manual trigger detected. Forcing pr_found=true"
40+
echo "pr_found=true" >> $GITHUB_ENV
41+
exit 0
42+
fi
43+
3844
PR_LIST=$(gh pr list --state open --json number -q '.[].number')
3945
4046
if [ -n "$PR_LIST" ]; then

0 commit comments

Comments
 (0)