Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ci): Run
lint --fix
with dirtybot (#17538)
* Add flag support for git-check-dirty.sh * Add lint:write step * Compat script * Revert check-dirty to main * Run action * Corrected lint --fix * Add check-mode * Move lintfix to linting job * More parallel * Add optarg * Use optarg in lintfix * Strip [] from affected list * Add help * Move action parsing to run_mode * Split over lines & no check * move git actions and don't exit on diff * Don't run on 'dirty bypass' label * Re-add linting from `main` * Bad format * Correct label check * Use the MAX_JOBS env * Checkout with token for writing * chore: nx run-many --target lint --fix --parallel 3 --projects=application-system-form,application-template-api-modules,application-template-loader,application-templates-children-residence-change-v2,application-ui-shell update dirty files * chore: nx format:write update dirty files * chore: nx run-many --target lint --fix --parallel 3 --projects=api-domains-disability-license,api-domains-documents,api-domains-driving-license,api-domains-driving-license-book,api-domains-education,api-domains-email-signup,api-domains-endorsement-system update dirty files * chore: nx run-many --target lint --fix --parallel 3 --projects=api-domains-auth,api-domains-auth-admin,api-domains-communications,api-domains-company-registry,api-domains-content-search,api-domains-criminal-record,api-domains-directorate-of-labour update dirty files * chore: nx run-many --target lint --fix --parallel 3 --projects=web update dirty files * chore: nx format:write update dirty files * Revent apps/ & libs/ * Apply suggestions from code review Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * fail-safe for incorrect usage (@CodeRabbit) --------- Co-authored-by: andes-it <[email protected]> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
- Loading branch information