Skip to content

Commit

Permalink
ci: pin commitlint dependency (#178)
Browse files Browse the repository at this point in the history
## Description

Pins commitlint to a specific version.

## Related Issue

We were hitting
https://github.com/conventional-changelog/commitlint/issues/3909

## Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Other (security config, docs update, etc)

## Checklist before merging

- [x] Test, docs, adr added or updated as needed
- [x] [Contributor Guide
Steps](https://github.com/defenseunicorns/uds-template-capability/blob/main/CONTRIBUTING.md)(https://github.com/defenseunicorns/uds-template-capability/blob/main/CONTRIBUTING.md#submitting-a-pull-request)
followed

---------

Co-authored-by: Wayne Starr <[email protected]>
  • Loading branch information
mjnagel and Racer159 authored Feb 13, 2024
1 parent e45de0e commit ffdba0d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
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@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2

- name: Install commitlint
run: npm install --save-dev @commitlint/{config-conventional,cli}
run: |
npm install --save-dev @commitlint/[email protected]
npm install --save-dev @commitlint/[email protected]
- name: Lint PR title
env:
Expand Down
7 changes: 7 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,13 @@
],
"registryUrlTemplate": "https://{{{registryUrl}}}",
"datasourceTemplate": "docker"
},
{
"fileMatch": ["^\\.github/workflows/commitlint\\.yaml$"],
"matchStrings": [
"npm install --save-dev (?<depName>@?.*?)@(?<currentValue>.+)"
],
"datasourceTemplate": "npm"
}
],
"hostRules": [
Expand Down

0 comments on commit ffdba0d

Please sign in to comment.