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"