Skip to content

Commit

Permalink
🧑‍💻 add issue automation
Browse files Browse the repository at this point in the history
  • Loading branch information
geoje committed Aug 8, 2024
1 parent fcc449b commit 7c2b421
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/issue-branch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
mode: immediate
branchName: ${issue.number}
branches:
- label: BE
name: be/dev
prefix: be/feat/
- label: AN
name: an/dev
prefix: an/feat/
autoLinkIssue: true
autoCloseIssue: true
openPR: true
copyIssueDescriptionToPR: true
copyIssueLabelsToPR: true
copyIssueAssigneeToPR: true
copyIssueProjectsToPR: true
copyIssueMilestoneToPR: true
16 changes: 16 additions & 0 deletions .github/workflows/issue-automation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Issue Automation

on:
issues:
types: [ opened ]
pull_request:
types: [ opened, closed ]

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

0 comments on commit 7c2b421

Please sign in to comment.