Skip to content

Commit 90ac056

Browse files
Automate branch creation on issue assignment (#1181)
* automate branch creation on issue assignment * add enhancement label to feature request issues
1 parent 009a91a commit 90ac056

File tree

4 files changed

+42
-7
lines changed

4 files changed

+42
-7
lines changed

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: Feature request
33
about: Suggest missing features or functionalities
44
title: ''
5-
labels: ''
5+
labels: 'enhancement'
66
assignees: ''
77

88
---

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## Due Diligence
2+
<!--- Please address the following points before setting your PR "ready for review".
3+
--->
4+
- General:
5+
- [ ] **base branch** must be `main` for new features, latest release branch (e.g. `release/1.3.x`) for bug fixes
6+
- [ ] **title** of the PR is suitable to appear in the [Release Notes](https://github.com/helmholtz-analytics/heat/releases/latest)
7+
- Implementation:
8+
- [ ] unit tests: all split configurations tested
9+
- [ ] unit tests: multiple dtypes tested
10+
- [ ] documentation updated where needed
11+
12+
113
## Description
214

315
<!--- Include a summary of the change/s.
@@ -42,11 +54,5 @@ my be illegible. It may be easiest to save the output of each to a file.
4254
--->
4355

4456

45-
## Due Diligence
46-
- [ ] All split configurations tested
47-
- [ ] Multiple dtypes tested in relevant functions
48-
- [ ] Documentation updated (if needed)
49-
- [ ] Title of PR is suitable for corresponding CHANGELOG entry
50-
5157
#### Does this change modify the behaviour of other functions? If so, which?
5258
yes / no

.github/issue-branch.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
mode: auto
2+
silent: false
3+
branchName: full
4+
defaultBranch: 'main'
5+
6+
branches:
7+
- label: bug
8+
name: release/1.3.x
9+
prefix: bugs/
10+
- label: enhancement
11+
prefix: features/
12+
- label: documentation
13+
prefix: docs/
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Create branch on assignment
2+
3+
on:
4+
# The issues event below is only needed for the default (auto) mode,
5+
# you can remove it otherwise
6+
issues:
7+
types: [ assigned ]
8+
9+
jobs:
10+
create_issue_branch_job:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Create Issue Branch
14+
uses: robvanderleek/create-issue-branch@main
15+
env:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)