Skip to content

Commit

Permalink
feat(github): added an action for enforcing commitzen in pull-requests
Browse files Browse the repository at this point in the history
fix #238
  • Loading branch information
michaelhiiva committed Dec 6, 2021
1 parent 7eedb74 commit f889305
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
name: pre-commit

on:
pull_request:
pull_request_target:
types:
- opened
- edited
- synchronize
- reopened
push:
branches: [master]
branches: [main]

jobs:
semantics:
runs-on: ubuntu-latest
steps:
- uses: amannn/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

pre-commit:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit f889305

Please sign in to comment.