chore: update lint job to avoid downloading artifacts from other jobs
What & why
The lint job started failing at the lint:prettier step because Prettier was checking sca-artifacts/*.cdx.json files:
[warn] sca-artifacts/gl-sbom-npm-npm.cdx.json
[warn] sca-artifacts/scripts/commit-lint/gl-sbom-npm-npm.cdx.json
[warn] sca-artifacts/webviews/vue2/gl-sbom-npm-npm.cdx.json
[warn] sca-artifacts/webviews/vue3/gl-sbom-npm-npm.cdx.json
[warn] Code style issues found in 4 files. Run Prettier with --write to fix.
Prettier failed.Root cause
These CycloneDX SBOM files are generated by the new Dependency Scanning analyzer (Gemnasium deprecated in GitLab 17.9), which we pick up automatically via the nightly Jobs/Dependency-Scanning.latest.gitlab-ci.yml template.
Because the lint job had no dependencies/needs, GitLab downloaded the artifacts of all earlier-stage jobs by default — including the dependency-scanning job's sca-artifacts/*.cdx.json SBOMs. Prettier's **/*.json glob then lints those generated files and fails.
Fix
Add dependencies: [] to the lint job so it downloads no artifacts. The job only needs the repo source + npm ci. This keeps the job's existing stage-based scheduling unchanged.
Duo-Workflow-Definition: ci_expert_agent/v1