Skip to content

Commit b4073ff

Browse files
authored
ci: Add semantic PR check (#1217)
Adds a new GitHub Actions workflow that enforces a conventional commit-style title for all PRs. We have this in most of our other repos now, but surprisingly not in this one! Documentation for the action can be found here: https://github.com/amannn/action-semantic-pull-request
1 parent 8e289a3 commit b4073ff

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/pr.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: PR checks
2+
3+
on: pull_request
4+
5+
permissions:
6+
pull-requests: read
7+
8+
jobs:
9+
semantic-pr:
10+
# See https://github.com/amannn/action-semantic-pull-request
11+
name: Semantic pull request
12+
runs-on: ubuntu-latest
13+
steps:
14+
# Please look up the latest version from
15+
# https://github.com/amannn/action-semantic-pull-request/releases
16+
- uses: amannn/action-semantic-pull-request@v5
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)