Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DilumAluthge committed Aug 7, 2021
1 parent fcb4f75 commit 0de5d1b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/pending_statuses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,13 @@ jobs:
)
for context in "${context_list[@]}"
do
curl -X POST \
-H "Authorization: token $GITHUB_TOKEN"
-H "Accept: application/vnd.github.v3+json"
-d "{\"state\": \"pending\", \"context\": \"$context\"}" https://api.github.com/repos/JuliaLang/julia/statuses/$MY_SHA
state="pending"
curl \
-X POST \
-H "Authorization: token $GITHUB_TOKEN" \
-H "Accept: application/vnd.github.v3+json" \
-d "{\"state\": \"$state\", \"context\": \"$context\"}" \
https://api.github.com/repos/JuliaLang/julia/statuses/$MY_SHA
done
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 0de5d1b

Please sign in to comment.