Skip to content

Commit

Permalink
pin commitlint dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
zachariahmiller committed Feb 13, 2024
1 parent 2693d17 commit 4f014fc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/commitlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ jobs:
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0

- name: Install commitlint
run: npm install --save-dev @commitlint/{config-conventional,cli}
run: |
npm install --save-dev @commitlint/config-conventional@18.6.0
npm install --save-dev @commitlint/cli@18.6.0
- name: Lint PR title
run: echo "${{ github.event.pull_request.title }}" | npx commitlint
7 changes: 3 additions & 4 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,11 @@
"extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^(?<version>.*)${{/if}}"
},
{
"fileMatch": ["^Makefile$"],
"fileMatch": ["^\\.github/workflows/commitlint\\.yaml$"],
"matchStrings": [
"renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?( extractVersion=(?<extractVersion>.*?))?( registryUrl=(?<registryUrl>.*?))?\\s.*?=\\s*['\"]?(?<currentValue>.*?)['\"]?\\s"
"npm install --save-dev (?<depName>@?.*?)@(?<currentValue>.+)"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver-coerced{{/if}}",
"extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^(?<version>.*)${{/if}}"
"datasourceTemplate": "npm"
}
],
"packageRules": [
Expand Down

0 comments on commit 4f014fc

Please sign in to comment.