Skip to content

Commit

Permalink
Merge pull request #316 from HistoryAtState/feat-flex-lint
Browse files Browse the repository at this point in the history
feat(lint): adjust linter
  • Loading branch information
joewiz authored Apr 7, 2024
2 parents bc442d9 + cb1c172 commit 14f3e50
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ updates:
schedule:
interval: "weekly"
commit-message:
prefix: "perf(gha):"
prefix: "chore(gha):"
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ jobs:
run: bats --tap tests/bats/*.bats

# Lint commit messages
# - name: lint commit message
# uses: wagoid/commitlint-github-action@v5
- name: lint commit message
uses: wagoid/commitlint-github-action@v5

release:
name: Release
Expand Down
15 changes: 12 additions & 3 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,16 @@
"branches": ["master"],
"plugins": [
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{ "type": "", "release": "patch" }
]
},
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits"
},
["@semantic-release/exec", {
"prepareCmd": "ant -Dapp.version=${nextRelease.version}"
}],
Expand All @@ -13,9 +22,9 @@
["@semantic-release/github", {
"assets": [
{
"path": "build/frus-*.xar",
"name": "frus-${nextRelease.version}.xar",
"label": "Expath package (frus-${nextRelease.version}.xar)"
"path": "build/frus.xar",
"name": "frus.xar",
"label": "Expath package (frus.xar)"
}
]
}]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ include fixes to already published volumes, new publications, and digitized lega

Releases for this data package are automated. Any commit to the `master`` branch will trigger the release automation.

All commit message must conform to [Angular Commit Message Conventions](https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#-git-commit-guidelines) to determine semantic versioning of releases, please adhere to these conventions, like so:
All commit message must conform to [Conventional Commit Messages](https://www.conventionalcommits.org/en/v1.0.0/) to determine semantic versioning of releases, please adhere to these conventions, like so:

| Commit message | Release type |
|-----------------|--------------|
Expand Down
8 changes: 8 additions & 0 deletions commitlint.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'body-max-line-length': [1, 'always', 200],
'type-empty': [1, 'never'],
'subject-empty': [1, 'never']
}
}
1 change: 0 additions & 1 deletion commitlint.config.js

This file was deleted.

0 comments on commit 14f3e50

Please sign in to comment.