Skip to content

Commit 1153eff

Browse files
feat: add pr-title workflow
1 parent 1135930 commit 1153eff

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed

.github/PULL_REQUEST_TEMPLATE.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,16 @@
33
## Why
44

55
## Notes
6-
<!-- Add any notes here -->
6+
<!-- Add any notes here -->
7+
8+
## Labels
9+
10+
Assign the following labels to the PR:
11+
12+
`security` - to trigger image scanning in CI build
13+
14+
## PR Comments
15+
16+
Add the following comments to the PR:
17+
18+
`/e2e` - to trigger E2E build
+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
## Reference: https://github.com/amannn/action-semantic-pull-request
2+
name: PR title
3+
4+
on:
5+
pull_request:
6+
types:
7+
- opened
8+
- reopened
9+
- edited
10+
- synchronize
11+
12+
jobs:
13+
validate-pr-title:
14+
runs-on: ubuntu-latest
15+
steps:
16+
17+
- uses: amannn/[email protected]
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
with:
21+
requireScope: false

0 commit comments

Comments
 (0)