Skip to content

Commit 6838c63

Browse files
committed
build: add conventional commits workflow
1 parent 8883cdb commit 6838c63

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: conventional commits
2+
on: [push, pull_request]
3+
4+
jobs:
5+
conventional-commits:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v2
9+
- uses: giantswarm/install-binary-action@v1.0.0
10+
with:
11+
binary: "changelog"
12+
version: "0.4.3"
13+
download_url: "https://github.com/zbindenren/cc/releases/download/v${version}/cc_${version}_linux_amd64.tar.gz"
14+
tarball_binary_path: "${binary}"
15+
smoke_test: "${binary} -v"
16+
- name: Verify conventional commits
17+
run: |
18+
echo "need more information about conventional commits: https://www.conventionalcommits.org"
19+
changelog -stdout -n

0 commit comments

Comments
 (0)