ci: Support Node 18 #419
This file contains 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: PR | |
on: | |
pull_request: # https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ | |
types: | |
- opened | |
- edited | |
- synchronize | |
jobs: | |
main: | |
name: Conventional Commits | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check PR title | |
uses: amannn/action-semantic-pull-request@v3.4.0 | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
with: | |
validateSingleCommit: true | |
subjectPattern: ^(v\d+\.\d+\.\d+|(?![a-z]).+)$ | |
subjectPatternError: | | |
The subject "{subject}" found in the pull request title didn't match the required pattern. Please ensure that the subject doesn't start with a lowercase character, or that it is a SemVer version (e.g. "v1.0.0"). |