fix: update package dependencies #353
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Conventional commit | |
| on: | |
| pull_request: | |
| types: [opened, edited] | |
| jobs: | |
| main: | |
| timeout-minutes: 5 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: amannn/action-semantic-pull-request@v6 | |
| id: check_pr_rule | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| types: | | |
| build | |
| chore | |
| ci | |
| docs | |
| feat | |
| fix | |
| perf | |
| refactor | |
| revert | |
| style | |
| test | |
| requireScope: false | |
| subjectPattern: ^(?![A-Z]).+$ | |
| subjectPatternError: The subject must start with a lowercase character | |
| - uses: marocchino/sticky-pull-request-comment@v3 | |
| if: always() && (steps.check_pr_rule.outputs.error_message != null) | |
| with: | |
| header: check_pr_comment | |
| message: | | |
| Pull request titles must follow the [Conventional Commits specification](https://www.conventionalcommits.org/). | |
| Please adjust your title following: | |
| ``` | |
| ${{ steps.check_pr_rule.outputs.error_message }} | |
| ``` | |
| # Delete a previous comment when the issue has been resolved | |
| - if: ${{ steps.check_pr_rule.outputs.error_message == null }} | |
| uses: marocchino/sticky-pull-request-comment@v3 | |
| with: | |
| header: check_pr_comment | |
| delete: true |