Skip to content

Commit

Permalink
ci: add validate pr title
Browse files Browse the repository at this point in the history
  • Loading branch information
petermakowski committed Oct 4, 2023
1 parent d3073aa commit 6e0d0b8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
types: [opened, edited, synchronize, reopened]
jobs:
lint:
name: Lint
Expand All @@ -29,6 +29,14 @@ jobs:
run: CYPRESS_INSTALL_BINARY=0 yarn install
- run: yarn lint

validate-pr-title:
name: Validate PR title
runs-on: ubuntu-22.04
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

test:
name: Test
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 6e0d0b8

Please sign in to comment.