File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 2525 GITHUB_REPO : ${{ github.repository }}
2626 # The GitHub token for reporting status back
2727 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28+ GITHUB_REPO_URL : ${{ github.event.pull_request.head.repo.clone_url }}
2829 run : |
2930 # --- Safety Checks ---
3031 # Ensure critical secrets are actually available (they should be with pull_request_target)
Original file line number Diff line number Diff line change 2121 --data @- <<EOF
2222 {
2323 "state": "pending",
24- "target_url": "${CI_PIPELINE_URL} ",
24+ "target_url": "https://blockstream.com ",
2525 "description": "GitLab CI (${ARCH}) pipeline is running...",
2626 "context": "ci/gitlab/pipeline-status/${ARCH}"
2727 }
3333 --use \
3434 --platform linux/${ARCH}
3535 script :
36- - git clone -b "$GITHUB_PR_REF" https://github.com/blockstream/esplora.git .
36+ - git clone -b "$GITHUB_PR_REF" "$GITHUB_PR_HEAD_REPO_URL" .
3737 # Make sure we test with the latest base image
3838 - docker pull "${IMAGE_BASE}:latest-${ARCH}" || true
3939 - |
8181 --data @- <<EOF
8282 {
8383 "state": "${FINAL_STATE}",
84- "target_url": "${CI_PIPELINE_URL} ",
84+ "target_url": "https://blockstream.com ",
8585 "description": "${DESCRIPTION}",
8686 "context": "ci/gitlab/pipeline-status/${ARCH}"
8787 }
You can’t perform that action at this time.
0 commit comments