Skip to content

Commit

Permalink
Create create_branch_for_issue.yml (#392)
Browse files Browse the repository at this point in the history
* Create create_branch_for_issue.yml

PR시 이슈 close 자동화를 위한 GitHub Action Workflow 추가 요청

* Create issue-branch.yml

issue 에서 브랜치 create 할 때 생성되는 문법에 대한 config 추가합니다.
  • Loading branch information
doyeonjeong authored May 17, 2023
1 parent 905e674 commit 9d8fd3b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/issue-branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
branchName: '${issue.number}'
branches:
- label: '*'
prefix: feature/
autoCloseIssue: true
15 changes: 15 additions & 0 deletions .github/workflows/create_branch_for_issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Create Issue Branch
on:
issues:
types: [ assigned ]
pull_request:
types: [ closed ]

jobs:
create_issue_branch_job:
runs-on: ubuntu-latest
steps:
- name: Create Issue Branch
uses: robvanderleek/create-issue-branch@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9d8fd3b

Please sign in to comment.