Update report-api-diff.yml
This commit is contained in:
parent
cbf2b5ad8a
commit
b73daf4c0e
2
.github/workflows/report-api-diff.yml
vendored
2
.github/workflows/report-api-diff.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue