Update report-api-diff.yml

This commit is contained in:
anatawa12 2023-10-23 18:58:54 +09:00 committed by GitHub
parent cbf2b5ad8a
commit b73daf4c0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ jobs:
run: | run: |
# find first pull requests that targets this repository # 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]')" | jq --arg REPO_ID "$REPO_ID" '[.[] | select ($REPO_ID == (.base.repo.id | tostring)) | .number ][0]')"
echo "pr-number=$PR_NUMBER" >> "$GITHUB_OUTPUT" echo "pr-number=$PR_NUMBER" >> "$GITHUB_OUTPUT"
- name: Output base - name: Output base