From 16502a97693441ee7d426cc9466a1fa0009215f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gast=C3=B3n=20Fournier?= Date: Fri, 9 Jun 2023 10:33:51 +0200 Subject: [PATCH] More debug --- .github/workflows/gradual-strict-null-checks.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/gradual-strict-null-checks.yml b/.github/workflows/gradual-strict-null-checks.yml index fc4002704c..9cb5bbde44 100644 --- a/.github/workflows/gradual-strict-null-checks.yml +++ b/.github/workflows/gradual-strict-null-checks.yml @@ -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"