chore: npm-check-updates && yarn upgrade #12785
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: "Lint PR" | |
on: | |
pull_request: | |
types: | |
- opened | |
- edited | |
- synchronize | |
- labeled | |
- unlabeled | |
- reopened | |
jobs: | |
lintPr: | |
name: "Lint PR" | |
runs-on: ubuntu-latest | |
steps: | |
# Please look up the latest version from | |
# https://github.com/amannn/action-semantic-pull-request/releases | |
- uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
types: | | |
feat | |
fix | |
chore | |
refactor | |
revert | |
test | |
perf | |
scopes: | | |
lib | |
cli | |
hcl2json | |
hcl2cdk | |
provider-generator | |
tests | |
examples | |
readme | |
docs | |
release | |
deps | |
# Configure that a scope must always be provided. | |
requireScope: false | |
# When using "Squash and merge" on a PR with only one commit, GitHub | |
# will suggest using that commit message instead of the PR title for the | |
# merge commit, and it's easy to commit this by mistake. Enable this option | |
# to also validate the commit message for one commit PRs. | |
validateSingleCommit: false | |
subjectPatternError: | | |
The subject "{subject}" found in the pull request title "{title}" does not match the required format. | |
The format is "type(scope): message", supported types are feat, fix, chore, refactor, revert. | |
The supported scopes are lib, cli, hcl2json, tests, examples, readme, docs, release, deps. | |
Please stick to the format so that our automatic release process picks your commit up and | |
your code makes it into the next release. |