Skip to content

Commit c2d03cf

Browse files
authored
fix: add missing pr title lint action (#1032)
This workflow was never committed in PR #1015 so I fixed the `.gitignore` too
1 parent d38b619 commit c2d03cf

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.github/workflows/pr.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: PR
2+
on:
3+
pull_request:
4+
types: [opened, edited, synchronize]
5+
pull_request_target:
6+
types: [opened, edited, synchronize]
7+
8+
jobs:
9+
lint:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: amannn/action-semantic-pull-request@0b14f54ac155d88e12522156e52cb6e397745cfd
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ dist/**/*.js
2121
!yarn.lock
2222
!.circleci
2323
!.github
24+
!.github/
25+
!.github/**
2426
!release.config.js
2527
!.*ignore
2628
!readme.md

0 commit comments

Comments
 (0)