I can use GitLab and GitLab Runner to build and run SAST now. (all of them are on dockers.)
And I want to add Secret Detection (Secret Detection | GitLab).
I add Secret-Detection.gitlab-ci.yml into .gitlab-ci.yml, but it shows the following message.
I think it cannot find a runner to run this job.
This job is stuck because the project doesn't have any runners online assigned to it.
But after I enable “Run untagged jobs” of my runner, it works.
Sould I add any tag to my runner? I onlye add 1 tag “docker” for my runner now.
stages: - build - test include: - template: Security/Secret-Detection.gitlab-ci.yml test: stage: test tags: - docker image: mcr.microsoft.com/dotnet/core/sdk:3.1 script: - dotnet test example.sln sast: stage: sast tags: - docker artifacts: name: "sast-report" paths: - gl-sast-report.json