From b73daf4c0ec4240ea39b183a6b93f209b63e6d81 Mon Sep 17 00:00:00 2001 From: anatawa12 Date: Mon, 23 Oct 2023 18:58:54 +0900 Subject: [PATCH] Update report-api-diff.yml --- .github/workflows/report-api-diff.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/report-api-diff.yml b/.github/workflows/report-api-diff.yml index 16d5ab12be..9e7f47f923 100644 --- a/.github/workflows/report-api-diff.yml +++ b/.github/workflows/report-api-diff.yml @@ -45,7 +45,7 @@ jobs: run: | # find first pull requests that targets this repository PR_NUMBER="$(echo "$PULL_REQUESTS" \ - | jq --arg REPO_ID "$REPO_ID" '[.[] | select ($REPO_ID == (.base.repo.id | tostring)) | .id ][0]')" + | jq --arg REPO_ID "$REPO_ID" '[.[] | select ($REPO_ID == (.base.repo.id | tostring)) | .number ][0]')" echo "pr-number=$PR_NUMBER" >> "$GITHUB_OUTPUT" - name: Output base