Skip to content

Commit 35fbd4a

Browse files
committed
fix: move lint config inline
1 parent ce3c384 commit 35fbd4a

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/commit-lint.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@ jobs:
1414
- uses: actions/checkout@v4
1515
with:
1616
fetch-depth: 0
17+
- run: |
18+
mkdir -p ${GITHUB_WORKSPACE}/.github/configs
19+
cat <<EOF > ${GITHUB_WORKSPACE}/.github/configs/commitlint.config.js
20+
module.exports = {
21+
rules: {
22+
'body-max-line-length': [0, "always"],
23+
},
24+
}
25+
EOF
1726
- uses: wagoid/commitlint-github-action@v5
1827
with:
19-
configFile: https://raw.githubusercontent.com/projectpotos/.github/main/.github/configs/commitlint.config.js
28+
configFile: ${GITHUB_WORKSPACE}/.github/configs/commitlint.config.js

0 commit comments

Comments
 (0)