Skip to content

Commit

Permalink
why is this not triggering?
Browse files Browse the repository at this point in the history
Signed-off-by: Charly Molter <[email protected]>
  • Loading branch information
lahabana committed Dec 5, 2024
1 parent 096a0a1 commit 5531818
Showing 1 changed file with 22 additions and 21 deletions.
43 changes: 22 additions & 21 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,24 +48,25 @@ jobs:
# Inject as env variable to escape properly
env:
TITLE: ${{ github.event.pull_request.title }}
run: |
echo '
module.exports = {
extends: ["@commitlint/config-conventional"],
helpUrl:
"https://github.com/kumahq/kuma/blob/master/CONTRIBUTING.md#commit-message-format",
rules: {
"body-max-line-length": [0],
"footer-max-line-length": [0],
"footer-leading-blank": [0],
"header-max-length": [0],
// Disable some common mistyped scopes and some that should be used
"scope-enum": [2, "never", [
"kumacp", "kumadp", "kumacni", "kumainit", "*", "madr", "test", "ci", "perf", "policies", "tests"
]],
"scope-empty": [2, "never"]
},
};
' > commitlint.config.js
npm install -g @commitlint/[email protected] @commitlint/[email protected]
commitlint --config commitlint.config.js --edit=<(echo "${TITLE}")
run: "echo hello"
# run: |
# echo '
# module.exports = {
# extends: ["@commitlint/config-conventional"],
# helpUrl:
# "https://github.com/kumahq/kuma/blob/master/CONTRIBUTING.md#commit-message-format",
# rules: {
# "body-max-line-length": [0],
# "footer-max-line-length": [0],
# "footer-leading-blank": [0],
# "header-max-length": [0],
# // Disable some common mistyped scopes and some that should be used
# "scope-enum": [2, "never", [
# "kumacp", "kumadp", "kumacni", "kumainit", "*", "madr", "test", "ci", "perf", "policies", "tests"
# ]],
# "scope-empty": [2, "never"]
# },
# };
# ' > commitlint.config.js
# npm install -g @commitlint/[email protected] @commitlint/[email protected]
# commitlint --config commitlint.config.js --edit=<(echo "${TITLE}")

0 comments on commit 5531818

Please sign in to comment.