Commit 3192824e authored by Timo Koch's avatar Timo Koch
Browse files

[ci] Use api read token for read access

parent 56a4ade7
Pipeline #4738 waiting for manual action with stages
......@@ -30,7 +30,7 @@ check-pipeline-status:
when: always
script:
- |
if ! python3 .gitlab-ci/getpipelineinfo.py --access-token $CI_JOB_TOKEN \
if ! python3 .gitlab-ci/getpipelineinfo.py --access-token $CI_JOB_API_READ_TOKEN \
--look-for HEAD \
--print-format pipeline-id; then
echo "No successful pipeline found. Triggering new pipeline..."
......
......@@ -23,7 +23,7 @@ select tests:
- |
getLastSuccesful() {
python3 .gitlab-ci/getpipelineinfo.py \
--access-token $CI_JOB_TOKEN \
--access-token $CI_JOB_API_READ_TOKEN \
--look-for latest \
--print-format commit-sha
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment