Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f03a27bedc | |||
| ec1acbb130 | |||
| 5907a494d0 | |||
| 7f03ae6265 | |||
| 9502ca804d | |||
| bfeb1068bb | |||
| 2aff05b632 | |||
| d37431ce8c | |||
| 36e220660d | |||
| 48d704a6b6 |
@@ -83,7 +83,8 @@ jobs:
|
||||
REVIEWS=$(curl -sf \
|
||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
||||
-H "Accept: application/json" \
|
||||
"https://git.farh.net/api/v1/repos/${REPO}/pulls/${PR_NUMBER}/reviews")
|
||||
"https://git.farh.net/api/v1/repos/${REPO}/pulls/${PR_NUMBER}/reviews" \
|
||||
| python3 -c 'import sys,json; json.dump(json.load(sys.stdin),sys.stdout)')
|
||||
|
||||
if [ -z "${REVIEWS}" ] || [ "${REVIEWS}" = "null" ]; then
|
||||
echo "::warning::Could not fetch reviews for PR #${PR_NUMBER}."
|
||||
|
||||
Reference in New Issue
Block a user