Skip to content

chore(main): release 0.0.15 #47

chore(main): release 0.0.15

chore(main): release 0.0.15 #47

Workflow file for this run

name: "Semantic PR"
on:
pull_request:
types:
- opened
- edited
- synchronize
- reopened
permissions:
pull-requests: write
statuses: write
jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
id: lint_pr_title
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Post a comment when the PR title is invalid
- uses: marocchino/sticky-pull-request-comment@v2
if: always() && (steps.lint_pr_title.outputs.error_message != null)
with:
header: pr-title-lint-error
message: |
### Pull Request Title Check Failure
The pull request title is not formatted according to [Conventional Commits](https://www.conventionalcommits.org/).
Please update the pull request title to following the format:
```
<type>[optional scope]: <description>
```
### Check Failure Details:
${{ steps.lint_pr_title.outputs.error_message }}
# Delete a previous comment when the issue has been resolved
- uses: marocchino/sticky-pull-request-comment@v2
if: ${{ steps.lint_pr_title.outputs.error_message == null }}
with:
header: pr-title-lint-error
delete: true