Skip to content

Commit

Permalink
ci: lint PR titles according to conventional commits (#1615)
Browse files Browse the repository at this point in the history
* CI: add validation for PR titles

This will help us to automate release notes in future

* Fix: try putting CI workflows in correct location

:cry:

* WIP: use `pull_request` to trigger CI for initial commit
  • Loading branch information
agoose77 committed Aug 22, 2022
1 parent ffb7061 commit cbb2412
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/semantic-pr-title.yml
@@ -0,0 +1,18 @@
name: "Lint PR"

on:
pull_request:
types:
- opened
- edited
- synchronize
workflow_dispatch:

jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit cbb2412

Please sign in to comment.