Skip to content

Commit 20d1b6e

Browse files
committed
ci: ensure PR titles use conventional commits (#49)
1 parent 507eb65 commit 20d1b6e

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/lint-pr.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: "Lint PR"
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- edited
8+
- synchronize
9+
10+
permissions:
11+
pull-requests: read
12+
13+
jobs:
14+
pr_title:
15+
name: Validate PR title
16+
runs-on: ubuntu-latest
17+
if: github.ref == 'refs/heads/main' && github.repository == 'orbcorp/orb-node'
18+
steps:
19+
- uses: amannn/action-semantic-pull-request@v5
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)