fix: pass repo to gh cli in weblate checks job (#21681)

This commit is contained in:
bo0tzz 2025-09-08 17:32:44 +02:00 committed by GitHub
parent fd4c2acde8
commit c0bff4b493
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,7 +39,7 @@ jobs:
GH_TOKEN: ${{ github.token }} GH_TOKEN: ${{ github.token }}
run: | run: |
# Then check for APPROVED by the bot, if absent fail # Then check for APPROVED by the bot, if absent fail
gh pr view "$PR_NUMBER" --json reviews | jq -e '.reviews | map(select(.author.login == "github-actions[bot]" and .state == "APPROVED")) | length > 0' \ gh pr view "$PR_NUMBER" --repo "$GITHUB_REPOSITORY" --json reviews | jq -e '.reviews | map(select(.author.login == "github-actions[bot]" and .state == "APPROVED")) | length > 0' \
|| (echo "The push-o-matic bot has not approved this PR yet" && exit 1) || (echo "The push-o-matic bot has not approved this PR yet" && exit 1)
success-check-lock: success-check-lock: