Skip to content

Commit 073b979

Browse files
committed
build: ignore dependabot commits during commitlint
Signed-off-by: Niels Pardon <par@zurich.ibm.com>
1 parent 8358473 commit 073b979

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/pr.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ jobs:
2727
- uses: actions/setup-node@v4
2828
with:
2929
node-version: "20"
30+
- run: >
31+
echo 'module.exports = {
32+
// Workaround for https://github.com/dependabot/dependabot-core/issues/5923
33+
"ignores": [(message) => /^Bumps \[.+]\(.+\) from .+ to .+\.$/m.test(message)]
34+
}' > .commitlintrc.js
3035
- run: npx commitlint --from=${{ github.event.pull_request.base.sha }} --to=${{ github.sha }} --verbose
3136
security:
3237
name: Security validation

0 commit comments

Comments
 (0)