Skip to content

Commit 66878a9

Browse files
authored
Merge pull request #455 from tlsfuzzer/coveralls-merge
Try fixing the merge build task for coveralls
2 parents 3584885 + 2a6164f commit 66878a9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,11 +334,14 @@ jobs:
334334
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
335335
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
336336
run: |
337+
echo "GITHUB_SHA:" $GITHUB_SHA
338+
echo "GITHUB_REF:" $GITHUB_REF
337339
if [[ "${{ github.event.pull_request }}" ]]; then
338340
PR_NUM=${GITHUB_REF#refs/pull/}
339341
PR_NUM=${PR_NUM%/merge}
340342
BUILD_NUM=${GITHUB_SHA}-PR-${PR_NUM}
341343
else
342344
BUILD_NUM=${GITHUB_SHA}
343345
fi
346+
echo "BUILD_NUM:" $BUILD_NUM
344347
curl -k https://coveralls.io/webhook?repo_token=$COVERALLS_REPO_TOKEN -d "payload[build_num]=${BUILD_NUM}&payload[status]=done"

0 commit comments

Comments
 (0)