This script generates actionlint-matcher.json
.
make .github/actionlint-matcher.json
or directly run the script
node ./scripts/generate-actionlint-matcher/main.js .github/actionlint-matcher.json
node ./scripts/generate-actionlint-matcher/test.js
The test uses test data at ./scripts/generate-actionlint-matcher/test/*.txt
. They should be updated when actionlint changes
the default error message format. To update them:
make ./scripts/generate-actionlint-matcher/test/escape.txt
make ./scripts/generate-actionlint-matcher/test/no_escape.txt
make ./scripts/generate-actionlint-matcher/test/want.json
or expand glob by your shell:
make ./scripts/generate-actionlint-matcher/test/*