mykodeworld/Lint Action

GitHub Action for detecting and fixing linting errors

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Oct 17, 2023
License
None
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: mykodeworld/ss-test-code@164153f897bd78ede2eb93ee6e6e97344f63db3a # no releases — HEAD as of 2026-07-11

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
github_tokenThe GitHub token used to authenticated with GitHub.no${{ github.token }}
continue_on_errorWhether the workflow run should also fail when linter failures are detectednotrue
auto_fixWhether linters should try to fix code style issues automaticallynofalse
commitWhether to commit and push the changes made by auto_fixnotrue
git_no_verifyBypass the pre-commit and pre-push git hooksnofalse
git_nameUsername for auto-fix commitsnoLint Action
git_emailEmail address for auto-fix commitsnolint-action@samuelmeuli.com
commit_messageTemplate for auto-fix commit messages. The "${linter}" variable can be used to insert the name of the linter which has created the auto-fixnoFix code style issues with ${linter}
check_nameTemplate for the name of the check run. The "${linter}" and "${dir}" variables can be used to insert the name and directory of the linter.no${linter}
neutral_check_on_warningWhether the check run should conclude with a neutral status instead of success when the linter finds only warningsnofalse
stylelintEnable or disable stylelint checksnofalse
stylelint_argsAdditional arguments to pass to the linterno""
stylelint_dirDirectory where the stylelint command should be runno
stylelint_extensionsExtensions of files to check with stylelintnocss
stylelint_command_prefixShell command to prepend to the linter commandno""
stylelint_auto_fixWhether this linter should try to fix code style issues automatically. If set to `true`, it will only work if "auto_fix" is set to `true` as wellnotrue
gofmtEnable or disable gofmt checksnofalse
gofmt_argsAdditional arguments to pass to the linterno""
gofmt_dirDirectory where the gofmt command should be runno
gofmt_extensionsExtensions of files to check with gofmtnogo
gofmt_command_prefixShell command to prepend to the linter commandno""
gofmt_auto_fixWhether this linter should try to fix code style issues automatically. If set to `true`, it will only work if "auto_fix" is set to `true` as wellnotrue
golintEnable or disable golint checksnofalse
golint_argsAdditional arguments to pass to the linterno""
golint_dirDirectory where the golint command should be runno
golint_extensionsExtensions of files to check with golintnogo
golint_command_prefixShell command to prepend to the linter commandno""
golint_auto_fixWhether this linter should try to fix code style issues automatically. If set to `true`, it will only work if "auto_fix" is set to `true` as wellnofalse
eslintEnable or disable ESLint checksnofalse
eslint_argsAdditional arguments to pass to the linterno""
eslint_dirDirectory where the ESLint command should be runno
eslint_extensionsExtensions of files to check with ESLintnojs
eslint_command_prefixShell command to prepend to the linter command. Will default to `npx --no-install` for NPM and `yarn run --silent` for Yarn.no""
eslint_auto_fixWhether this linter should try to fix code style issues automatically. If set to `true`, it will only work if "auto_fix" is set to `true` as wellnotrue
prettierEnable or disable Prettier checksnofalse
prettier_argsAdditional arguments to pass to the linterno""
prettier_dirDirectory where the Prettier command should be runno
prettier_extensionsExtensions of files to check with Prettiernocss,html,js,json,jsx,md,sass,scss,ts,tsx,vue,yaml,yml
prettier_command_prefixShell command to prepend to the linter command. Will default to `npx --no-install` for NPM and `yarn run --silent` for Yarn.no""
prettier_auto_fixWhether this linter should try to fix code style issues automatically. If set to `true`, it will only work if "auto_fix" is set to `true` as wellnotrue
xoEnable or disable XO checksnofalse
xo_argsAdditional arguments to pass to the linterno""
xo_dirDirectory where the XO command should be runno
xo_extensionsExtensions of files to check with XOnojs
xo_command_prefixShell command to prepend to the linter command. Will default to `npx --no-install` for NPM and `yarn run --silent` for Yarn.no""
xo_auto_fixWhether this linter should try to fix code style issues automatically. If set to `true`, it will only work if "auto_fix" is set to `true` as wellnotrue
tscEnable or disable TypeScript checksnofalse
tsc_argsAdditional arguments to pass to the linterno""
tsc_dirDirectory where the TSC command should be runno
tsc_extensionsExtensions of files to check with TSCnots
tsc_command_prefixShell command to prepend to the linter command. Will default to `npx --no-install` for NPM and `yarn run --silent` for Yarn.no""
tsc_auto_fixWhether this linter should try to fix code style issues automatically. If set to `true`, it will only work if "auto_fix" is set to `true` as wellnofalse
php_codesnifferEnable or disable PHP_CodeSniffer checksnofalse
php_codesniffer_argsAdditional arguments to pass to the linterno""
php_codesniffer_dirDirectory where the PHP_CodeSniffer command should be runno
php_codesniffer_extensionsExtensions of files to check with PHP_CodeSniffernophp
php_codesniffer_command_prefixShell command to prepend to the linter commandno""
php_codesniffer_auto_fixWhether this linter should try to fix code style issues automatically. If set to `true`, it will only work if "auto_fix" is set to `true` as wellnofalse
autopep8Enable or disable autopep8 checksnofalse
autopep8_argsAdditional arguments to pass to the linterno""
autopep8_dirDirectory where the autopep8 command should be runno
autopep8_extensionsExtensions of files to check with autopep8nopy
autopep8_command_prefixShell command to prepend to the linter commandno""
autopep8_auto_fixWhether this linter should try to fix code style issues automatically. If set to `true`, it will only work if "auto_fix" is set to `true` as wellnotrue
blackEnable or disable Black checksnofalse
black_argsAdditional arguments to pass to the linterno""
black_dirDirectory where the Black command should be runno
black_extensionsExtensions of files to check with Blacknopy
black_command_prefixShell command to prepend to the linter commandno""
black_auto_fixWhether this linter should try to fix code style issues automatically. If set to `true`, it will only work if "auto_fix" is set to `true` as wellnotrue
clang_formatEnable or disable ClangFormat checksnofalse
clang_format_argsAdditional arguments to pass to the linterno""
clang_format_dirDirectory where the ClangFormat command should be runno
clang_format_extensionsExtensions of files to check with ClangFormatnoc,cc,cpp,h,hpp,m,mm
clang_format_command_prefixShell command to prepend to the linter commandno""
clang_format_auto_fixWhether this linter should try to fix code style issues automatically. If set to `true`, it will only work if "auto_fix" is set to `true` as wellnofalse
flake8Enable or disable Flake8 checksnofalse
flake8_argsAdditional arguments to pass to the linterno""
flake8_dirDirectory where the Flake8 command should be runno
flake8_extensionsExtensions of files to check with Flake8nopy
flake8_command_prefixShell command to prepend to the linter commandno""
flake8_auto_fixWhether this linter should try to fix code style issues automatically. If set to `true`, it will only work if "auto_fix" is set to `true` as wellnofalse
mypyEnable or disable Mypy checksnofalse
mypy_argsAdditional arguments to pass to the linterno""
mypy_dirDirectory where the Mypy command should be runno
mypy_extensionsExtensions of files to check with Mypynopy
mypy_command_prefixShell command to prepend to the linter commandno""
mypy_auto_fixWhether this linter should try to fix code style issues automatically. If set to `true`, it will only work if "auto_fix" is set to `true` as wellnofalse
oitnbEnable or disable oitnb checksnofalse
oitnb_argsAdditional arguments to pass to the linterno""
oitnb_dirDirectory where the oitnb command should be runno
oitnb_extensionsExtensions of files to check with oitnbnopy
oitnb_command_prefixShell command to prepend to the linter commandno""
oitnb_auto_fixWhether this linter should try to fix code style issues automatically. If set to `true`, it will only work if "auto_fix" is set to `true` as wellnotrue
pylintEnable or disable Pylint checksnofalse
pylint_argsAdditional arguments to pass to the linterno""
pylint_dirDirectory where the Pylint command should be runno
pylint_extensionsExtensions of files to check with Pylintnopy
pylint_command_prefixShell command to prepend to the linter commandno""
pylint_auto_fixWhether this linter should try to fix code style issues automatically. If set to `true`, it will only work if "auto_fix" is set to `true` as wellnofalse
rubocopEnable or disable RuboCop checksnofalse
rubocop_argsAdditional arguments to pass to the linterno""
rubocop_dirDirectory where the RuboCop command should be runno
rubocop_extensionsExtensions of files to check with RuboCopnorb
rubocop_command_prefixShell command to prepend to the linter commandno""
rubocop_auto_fixWhether this linter should try to fix code style issues automatically. If set to `true`, it will only work if "auto_fix" is set to `true` as wellnotrue
erblintEnable or disable ERB Lint checksnofalse
erblint_argsAdditional arguments to pass to the linterno""
erblint_dirDirectory where the ERB Lint command should be runno
erblint_extensionsExtensions of files to check with ERB Lintnoerb
erblint_command_prefixShell command to prepend to the linter commandno""
erblint_auto_fixWhether this linter should try to fix code style issues automatically. If set to `true`, it will only work if "auto_fix" is set to `true` as wellnofalse
clippyEnable or disable clippynofalse
clippy_argsAdditional arguments to pass to the linterno""
clippy_dirDirectory where the RuboCop command should be runno
clippy_extensionsExtensions of files to check with RuboCopnors
clippy_command_prefixShell command to prepend to the linter commandno""
clippy_auto_fixWhether this linter should try to fix code style issues automatically. If set to `true`, it will only work if "auto_fix" is set to `true` as wellnotrue
rustfmtEnable or disable rustfmtnofalse
rustfmt_argsAdditional arguments to pass to the linterno-- --color=never
rustfmt_extensionsExtensions of files to check with rustfmtnors
rustfmt_dirDirectory where the rustfmt command should be runno
rustfmt_auto_fixWhether this linter should try to fix code style issues automatically. If set to `true`, it will only work if "auto_fix" is set to `true` as wellnotrue
swiftformatEnable or disable SwiftFormat checksnofalse
swiftformat_argsAdditional arguments to pass to the linterno""
swiftformat_dirDirectory where the SwiftFormat command should be runno
swiftformat_extensionsExtensions of files to check with SwiftFormatnoswift
swiftformat_command_prefixShell command to prepend to the linter commandno""
swiftformat_auto_fixWhether this linter should try to fix code style issues automatically. If set to `true`, it will only work if "auto_fix" is set to `true` as wellnotrue
swift_format_lockwoodEnable or disable SwiftFormat checksnofalse
swift_format_lockwood_argsAdditional arguments to pass to the linterno""
swift_format_lockwood_dirDirectory where the SwiftFormat command should be runno
swift_format_lockwood_extensionsExtensions of files to check with SwiftFormatnoswift
swift_format_lockwood_command_prefixShell command to prepend to the linter commandno""
swift_format_lockwood_auto_fixWhether this linter should try to fix code style issues automatically. If set to `true`, it will only work if "auto_fix" is set to `true` as wellnotrue
swift_format_officialEnable or disable swift-format checksnofalse
swift_format_official_argsAdditional arguments to pass to the linterno""
swift_format_official_dirDirectory where the swift-format command should be runno
swift_format_official_extensionsExtrensions of files to check with swift-formatnoswift
swift_format_official_command_prefixShell command to prepend to the linter commandno""
swift_format_official_auto_fixWhether this linter should try to fix code style issues automatically. If set to `true`, it will only work if "auto_fix" is set to `true` as wellnotrue
swiftlintEnable or disable SwiftLint checksnofalse
swiftlint_argsAdditional arguments to pass to the linterno""
swiftlint_dirDirectory where the SwiftLint command should be runno
swiftlint_extensionsExtensions of files to check with SwiftLintnoswift
swiftlint_command_prefixShell command to prepend to the linter commandno""
swiftlint_auto_fixWhether this linter should try to fix code style issues automatically. If set to `true`, it will only work if "auto_fix" is set to `true` as wellnotrue
dotnet_formatEnable or disable dotnet-format checksnofalse
dotnet_format_argsAdditional arguments to pass to the linterno""
dotnet_format_dirDirectory where the dotnet-format command should be runno
dotnet_format_extensionsExtensions of files to check with dotnet-formatnocs
dotnet_format_command_prefixShell command to prepend to the linter commandno""
dotnet_format_auto_fixWhether this linter should try to fix code style issues automatically. If set to `true`, it will only work if "auto_fix" is set to `true` as wellnotrue

no outputs