Skip to content

Commit ed7c14e

Browse files
committed
use branch name
1 parent 515d422 commit ed7c14e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.gitlab-ci-correaa.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1492,7 +1492,7 @@ github-ci-status:
14921492
interruptible: true
14931493
script:
14941494
- apt-get -qq update && apt-get -qq install --no-install-recommends -y curl jq
1495-
- STATUS=$(curl -s -H "Accept:application/vnd.github+json" https://api.github.com/repos/correaa/boost-multi/actions/workflows/ci.yml/runs?branch=master\&per_page=1 | jq -r .workflow_runs[0].conclusion)
1495+
- STATUS=$(curl -s -H "Accept:application/vnd.github+json" https://api.github.com/repos/correaa/boost-multi/actions/workflows/ci.yml/runs?branch=$CI_COMMIT_BRANCH\&per_page=1 | jq -r .workflow_runs[0].conclusion)
14961496
- echo "GitHub CI status $STATUS"
14971497
- test "$STATUS" = "success"
14981498
needs: ["g++","clang++","cuda","nvhpc","oneapi"]

0 commit comments

Comments
 (0)