updated env var
Code Quality Pipeline / code-quality (pull_request) Successful in 16s
Test Python Package / test (pull_request) Failing after 9s

This commit is contained in:
Brian Bjarke Jensen
2025-09-14 17:22:57 +02:00
parent c8891f2571
commit 2efdebff58
+2 -2
View File
@@ -33,7 +33,7 @@ jobs:
- name: Post coverage summary to PR - name: Post coverage summary to PR
env: env:
BASEPAGE_URL: ${{ secrets.BASEPAGE_URL }} API_URL: ${{ secrets.API_URL }}
REPO_OWNER: ${{ github.repository_owner }} REPO_OWNER: ${{ github.repository_owner }}
REPO_NAME: ${{ github.event.repository.name }} REPO_NAME: ${{ github.event.repository.name }}
PR_NUMBER: ${{ github.event.pull_request.number }} PR_NUMBER: ${{ github.event.pull_request.number }}
@@ -41,7 +41,7 @@ jobs:
run: | run: |
COVERAGE=$(cat coverage.txt) COVERAGE=$(cat coverage.txt)
COMMENT_BODY="**Test Coverage Report:**\n\`\`\`\n$COVERAGE\n\`\`\`" COMMENT_BODY="**Test Coverage Report:**\n\`\`\`\n$COVERAGE\n\`\`\`"
curl -s -X POST "$BASEPAGE_URL/repos/$REPO_OWNER/$REPO_NAME/issues/$PR_NUMBER/comments" \ curl -s -X POST "$API_URL/repos/$REPO_OWNER/$REPO_NAME/issues/$PR_NUMBER/comments" \
-H "Authorization: token $CI_RUNNER_TOKEN" \ -H "Authorization: token $CI_RUNNER_TOKEN" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d "{\"body\": \"$COMMENT_BODY\"}" -d "{\"body\": \"$COMMENT_BODY\"}"