From cbf2b5ad8a7cba769446fa9bcf1f129c6f03db8c Mon Sep 17 00:00:00 2001 From: anatawa12 Date: Mon, 23 Oct 2023 18:52:53 +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 adc18858a4..16d5ab12be 100644 --- a/.github/workflows/report-api-diff.yml +++ b/.github/workflows/report-api-diff.yml @@ -44,7 +44,7 @@ jobs: REPO_ID: ${{ github.repository_id }} run: | # find first pull requests that targets this repository - PR_NUMBER="$(echo "$PULL_REQUESTS" + PR_NUMBER="$(echo "$PULL_REQUESTS" \ | jq --arg REPO_ID "$REPO_ID" '[.[] | select ($REPO_ID == (.base.repo.id | tostring)) | .id ][0]')" echo "pr-number=$PR_NUMBER" >> "$GITHUB_OUTPUT"