When I copy and paste the Go Gitlab CI template file in my project, my linter fails with the following error:
This GitLab CI configuration is invalid: jobs dast environment deploy config should implement a script: or a trigger: keyword.
I have verified that DAST is turned off, and I created environment, dast, deploy, and config blocks, all having a script tag that simply reads, for example:
dast: script: - echo "Hello world"
I also tried naming the blocks something different but keeping the names as part of the stage:
dast_job_1: stage: dast script: - echo "Hello world"
No matter what I do, my CI file does not pass linting. Does anyone have insight into why this issue might be happening?
Thank you so much!