GitLab CI
Define sfdx-hardis environment variables
- Go to Project -> Settings -> CI/CD -> Variables (you must have GitLab permissions to access this menu)
- Create the variable with the following info:
- name: YOUR_VARIABLE_NAME
- value:
Your variable value - Select Mask variable if the value is sensitive, like credentials or tokens
- Unselect Protected variable
More info: GitLab documentation
Auto-fix branches
Default CI templates skip steps that run sf hardis commands when the current branch starts with auto-fix/.
This prevents recursive or redundant deploy/check executions on auto-generated fix branches.

