Skip to content

Commit

Permalink
polish(conv-commit): Improve errmsg, doc link
Browse files Browse the repository at this point in the history
  • Loading branch information
vEnhance committed Jan 2, 2025
1 parent 51ca202 commit 94a5927
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/conv-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ jobs:
message: |
Hey there and thank you for opening this pull request! 👋
We require pull request titles to follow the [Conventional Commits specification](https://www.conventionalcommits.org/en/v1.0.0/). For most of you, this means that the PR title should say either
*We require pull request titles to follow the [Conventional Commits specification](https://www.conventionalcommits.org/en/v1.0.0/).* This comment indicates a fix is needed to repair this.
## How do I fix this?
For most of you, this means that the PR title should say either
- `fix: [short description here]` (if you are fixing an issue)
- `feat: [short description here]` (if you are introducing a new feature)
Expand All @@ -69,6 +73,6 @@ jobs:
Please adjust the proposed title and this check will resolve automatically!
```text
## Detailed error message
${{ steps.lint_pr_title.outputs.error_message }}
```
2 changes: 2 additions & 0 deletions commit-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ Evan uses the following types:
- `revert`: revert commits
- `style`: code style changes
- `test`: unit testing, etc.

See [the corresponding GitHub action](.github/workflows/conv-commit.yml).

0 comments on commit 94a5927

Please sign in to comment.