Skip to content

Commit 8dc8cf8

Browse files
authored
ci: ensure that PR titles follow conventional commits (#35)
1 parent 40d6c75 commit 8dc8cf8

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/title.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: PR Title
2+
on:
3+
pull_request:
4+
types:
5+
- opened
6+
- edited
7+
- reopened
8+
concurrency:
9+
# Pushing new changes to a branch will cancel any in-progress CI runs
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
# Restrict jobs in this workflow to have no permissions by default; permissions
14+
# should be granted per job as needed using a dedicated `permissions` block
15+
permissions: {}
16+
17+
jobs:
18+
check:
19+
runs-on: ubuntu-latest
20+
permissions:
21+
pull-requests: read
22+
steps:
23+
- uses: amannn/[email protected]
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)