You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
? What is your project type ? Let MegaLinter suggest to me later (recommended)
? What CI/CD system do you use ? GitHub Actions
? Do you want to detect excessive copy-pastes ? No
? Do you want to detect spelling mistakes ? No
? Which MegaLinter version do you want to use ? v6 (Latest official release)
? What is the name of your repository default branch ? main
? Do you want MegaLinter to validate all source code or only updated one ? Validate only sources diff with master/main branch
? Do you want to automatically apply formatting and auto-fixes (--fix option of linters) ? Yes
? Do you want MegaLinter to upload reports on file.io ? (report is deleted after being downloaded once) No
? Do you want to see elapsed time by linter in logs ? Yes
? Do you want to connect to OX Security to secure your repository ? No
Describe the bug
npx mega-linter-runner --install
adds invalid characters to the generated Github Actions workflow yaml, resulting in Github rejecting the workflow.Examples:
https://github.com/sammcj/sqs-message-action/actions/runs/2750875544/workflow#L43
To Reproduce
Steps to reproduce the behavior:
npx mega-linter-runner --install
Expected behavior
No invalid characters / a working workflow
Screenshots
I believe what should be generated was:
Additional context
The text was updated successfully, but these errors were encountered: