Skip to content

Commit b413bbb

Browse files
authored
Merge pull request #533 from powerapi-ng/ci/pull-request-workflow
ci: Add workflow to check pull request title
2 parents c37af28 + eb554af commit b413bbb

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/pull-request.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Pull Request
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- edited
8+
- synchronize
9+
- reopened
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
check-pr:
16+
name: Check Pull Request
17+
runs-on: ubuntu-latest
18+
permissions:
19+
pull-requests: read
20+
statuses: write
21+
22+
steps:
23+
- name: Validate title
24+
uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)