forked from mirrors/misskey
Update report-api-diff.yml
This commit is contained in:
parent
07517ce501
commit
cbf2b5ad8a
2
.github/workflows/report-api-diff.yml
vendored
2
.github/workflows/report-api-diff.yml
vendored
|
@ -44,7 +44,7 @@ jobs:
|
||||||
REPO_ID: ${{ github.repository_id }}
|
REPO_ID: ${{ github.repository_id }}
|
||||||
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)) | .id ][0]')"
|
||||||
echo "pr-number=$PR_NUMBER" >> "$GITHUB_OUTPUT"
|
echo "pr-number=$PR_NUMBER" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue