mirror of
https://github.com/webiny/action-conventional-commits.git
synced 2024-11-23 10:21:51 +01:00
Ensures that all commits are following the conventional-commits standard.
dist/main | ||
.gitignore | ||
.prettierrc.js | ||
action.yml | ||
CONTRIBUTING.md | ||
index.js | ||
main.ts | ||
package.json | ||
README.md | ||
tsconfig.json |
Conventional Commits GitHub Action
A simple GitHub action that makes sure all commit messages are following the Conventional Commits specification. If not, workflow will fail.
Typically, you would make these check in a pre-commit hook (for example, using something like Commitlint), but those can be easily skipped, hence this GitHub action.
Usage
Latest version: v1.0.1
name: My Workflow
on:
pull_request:
branches: [ master ]
jobs:
build:
name: Conventional Commits
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: webiny/action-conventional-commits@v1.0.1