Skip to content

Commit 7267844

Browse files
committed
Change pr title checker
1 parent 8bdd34c commit 7267844

File tree

4 files changed

+4
-28
lines changed

4 files changed

+4
-28
lines changed

.github/actions/pr-title-checker

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/pr-title-checker-config.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/workflows/pr.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,9 @@ jobs:
77
check-pr-title:
88
name: "Check PR Title"
99
runs-on: ubuntu-latest
10+
permissions:
11+
pull-requests: read
1012
steps:
11-
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
12-
uses: actions/checkout@v4
13-
with:
14-
persist-credentials: false
15-
submodules: recursive
16-
- name: "Check PR Title"
17-
uses: ./.github/actions/pr-title-checker
18-
with:
13+
- uses: amannn/action-semantic-pull-request@v6
14+
env:
1915
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20-
pass_on_octokit_error: false
21-
configuration_path: .github/pr-title-checker-config.json

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
[submodule ".github/actions/pr-title-checker"]
2-
path = .github/actions/pr-title-checker
3-
url = https://github.com/thehanimo/pr-title-checker.git

0 commit comments

Comments
 (0)