Skip to content

Commit 7840fc7

Browse files
feat: migrate to actively maintained semantic PR title checker action (#12)
feat: replace title checker action to current one
1 parent 34253fb commit 7840fc7

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.github/workflows/titlechecker.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,22 @@ on:
88
- edited
99
- synchronize
1010
paths:
11-
- 'stencil.yaml'
12-
- 'manifest.yaml'
13-
- '.mise.toml'
14-
- '.github/workflows/build-release.yml'
15-
- 'templates/**'
16-
- 'tests/**'
11+
- "stencil.yaml"
12+
- "manifest.yaml"
13+
- ".mise.toml"
14+
- ".github/workflows/build-release.yml"
15+
- "templates/**"
16+
- "tests/**"
1717

1818
jobs:
1919
lint:
2020
name: Conventional Commit Title Checker
2121
runs-on: ubuntu-latest
2222
permissions:
2323
statuses: write
24+
pull-requests: write
2425
steps:
2526
- name: Conventional Commit Title Checker
26-
uses: aslafy-z/conventional-pr-title-action@2ce59b07f86bd51b521dd088f0acfb0d7fdac55e
27+
uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017
2728
env:
2829
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

templates/.github/workflows/titlechecker.yaml.tpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ jobs:
3131
runs-on: {{ stencil.Arg "buildAndTestRunner" | default "ubuntu-latest" }}
3232
permissions:
3333
statuses: write
34+
pull-requests: write
3435
steps:
3536
- name: Conventional Commit Title Checker
36-
uses: aslafy-z/conventional-pr-title-action@2ce59b07f86bd51b521dd088f0acfb0d7fdac55e
37+
uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017
3738
env:
3839
GITHUB_TOKEN: {{ "${{ secrets.GITHUB_TOKEN }}" }}

0 commit comments

Comments
 (0)