1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-05 17:53:12 +02:00

More debug

This commit is contained in:
Gastón Fournier 2023-06-09 10:33:51 +02:00
parent a27628c271
commit 16502a9769
No known key found for this signature in database
GPG Key ID: AF45428626E17A8E

View File

@ -41,12 +41,23 @@ jobs:
URL: ${{ github.event.pull_request.comments_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
find_comment() {
curl -L \
-H "Accept: application/vnd.github+json" \
-H "Authorization: token $GITHUB_TOKEN"\
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/OWNER/REPO/pulls/PULL_NUMBER/comments
}
comment () {
curl -X POST $URL \
-H "Content-Type: application/json" \
-H "Authorization: token $GITHUB_TOKEN" \
--data "{ \"body\": \"${1}\" }"
}
echo "${{ toJSON(github.event.pull_request) }}"
set -x
YARN_1="yarn --mutex network --cwd ./current"
YARN_2="yarn --mutex network --cwd ./main"