Skip to content

Commit 754b30c

Browse files
author
George Cosma
committed
feat: add conventional commits workflow and pull request template
Signed-off-by: George Cosma <george.cosma@wyliodrin.com>
1 parent d25d23e commit 754b30c

2 files changed

Lines changed: 50 additions & 0 deletions

File tree

.github/pull_request_template.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
### Pull Request Overview
2+
3+
<!--
4+
This pull request adds/changes/fixes...
5+
-->
6+
7+
### TODO or Help Wanted
8+
9+
<!--
10+
This pull request still needs...
11+
-->
12+
13+
### Checks
14+
15+
<!--
16+
Please tick off what you did, and specify what features you've tested on hardware.
17+
-->
18+
19+
#### Using Rust tooling
20+
- [ ] Ran `cargo fmt`
21+
- [ ] Ran `cargo clippy`
22+
- [ ] Ran `cargo test`
23+
- [ ] Ran `cargo build`
24+
25+
#### Features tested:
26+
- [ ] ***feature*** on ***board***
27+
28+
29+
### GitHub Issue
30+
31+
<!--
32+
This pull request closes <GITHUB_ISSUE>
33+
-->
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Conventional Commits
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
7+
jobs:
8+
build:
9+
name: Conventional Commits
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
14+
- uses: webiny/action-conventional-commits@v1.3.0
15+
with:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Optional, for private repositories.
17+
allowed-commit-types: "feat,fix,chore,refactor" # Optional, set if you want a subset of commit types to be allowed.

0 commit comments

Comments
 (0)