Skip to content

Commit 729d35f

Browse files
authored
ci: add a PR check workflow (#139)
1 parent 65a7a4e commit 729d35f

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.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
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- edited
8+
- reopened
9+
10+
jobs:
11+
check:
12+
name: Checks
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Check PR title
16+
uses: amannn/action-semantic-pull-request@v6
17+
env: # Needs repo options: “Squash and merge” with commit message set to “PR title”
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)