Skip to content

Commit 87ff276

Browse files
authored
ci: switch to semantic PR action (#28)
1 parent fe6247e commit 87ff276

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

.github/semantic.yml

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

.github/workflows/lint-pr.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: "Lint PR"
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- edited
8+
- synchronize
9+
10+
jobs:
11+
main:
12+
name: Validate PR title
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: amannn/action-semantic-pull-request@v4
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ Once you're happy with your changes and have committed them to a branch, you can
66

77
## Pull request guidelines
88

9-
This project uses [semantic-release](https://github.com/semantic-release/semantic-release) to automate the versioning and deployment of this repository. **The version used during release is determined based on the title of the merged pull request. The title should follow the [Conventional Commits standard](https://www.conventionalcommits.org/).**
9+
This project uses [semantic-release](https://github.com/semantic-release/semantic-release) to automate the versioning and deployment of this repository. **The version used during release is determined based on the title of the merged pull request. The title must follow the [Conventional Commits standard](https://www.conventionalcommits.org/).**

0 commit comments

Comments
 (0)