Skip to content

Commit

Permalink
build: add conventional commits workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zbindenren committed Sep 14, 2021
1 parent 8883cdb commit 6838c63
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/conventional-commits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: conventional commits
on: [push, pull_request]

jobs:
conventional-commits:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: giantswarm/install-binary-action@v1.0.0
with:
binary: "changelog"
version: "0.4.3"
download_url: "https://github.com/zbindenren/cc/releases/download/v${version}/cc_${version}_linux_amd64.tar.gz"
tarball_binary_path: "${binary}"
smoke_test: "${binary} -v"
- name: Verify conventional commits
run: |
echo "need more information about conventional commits: https://www.conventionalcommits.org"
changelog -stdout -n

0 comments on commit 6838c63

Please sign in to comment.