Skip to content

Commit

Permalink
ci: rename commitlint.config.js to commitlint.config.mjs (#482)
Browse files Browse the repository at this point in the history
* ci: rename commitlint.config.js to commitlint.config.mjs

And update commitlint action to v6.
This fixes commitlint failures caused by
wagoid/commitlint-github-action#763.

Signed-off-by: Jan Fajerski <jfajersk@redhat.com>

* ci: fix commitlint config format

Signed-off-by: Jan Fajerski <jfajersk@redhat.com>

---------

Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
  • Loading branch information
jan--f committed May 14, 2024
1 parent 11026ae commit 33584e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v5
- uses: wagoid/commitlint-github-action@v6

github-actions-yaml-lint:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion commitlint.config.js → commitlint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ const Configuration = {
ignores: [(msg) => /Signed-off-by: dependabot\[bot]/m.test(msg)],
};

module.exports = Configuration;
export default Configuration

0 comments on commit 33584e6

Please sign in to comment.