Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
phofl committed Mar 1, 2023
1 parent bb88ed2 commit 6a1902d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deprecations-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
run: |
echo "Adding deprecation"
BODY=$(curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/phofl/pandas/issues/2 | python3 -c "import sys, json; print(json.load(sys.stdin)['body'])")
echo python3 -c "import os; print(os.environ)
echo ${BODY}
echo "{'body': '${BODY}'}"
curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -X PATCH -d '{"body": "'${BODY}'"}' https://api.github.com/repos/phofl/pandas/issues/2
curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -X PATCH -d '{"body": ${BODY}'"}' https://api.github.com/repos/phofl/pandas/issues/2

0 comments on commit 6a1902d

Please sign in to comment.