allow CI_JOB_TOKEN to be used for pipeline dry_run validation
according to https://docs.gitlab.com/ee/ci/jobs/ci_job_token.html the CI_JOB_TOKEN
can be used for the https://docs.gitlab.com/ee/api/pipeline_triggers.html#trigger-a-pipeline-with-a-token
but for unknown reasons, it is not usable for the https://docs.gitlab.com/ee/api/lint.html#validate-a-projects-ci-configuration /projects/:id/ci/lint
(with dry_run
and ref
) but fails with 401
which causes to use a defined users private token with pipeline creation rights, else this will fail too with "You do not have sufficient permission to run a pipeline on 'main'. Please select a different branch or contact your administrator for assistance."
;/