Don't run CodSpeed benchmarks outside of `astral-sh/uv` (#13140)

## Summary

This fails on forks, I think, since you can't post to CodSpeed.
This commit is contained in:
Charlie Marsh 2025-04-27 20:22:31 -04:00 committed by GitHub
parent dc5b3762f3
commit 38bcf66861
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -2225,7 +2225,7 @@ jobs:
benchmarks:
runs-on: ubuntu-latest
needs: determine_changes
if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-test') && (needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main') }}
if: ${{ github.repository == 'astral-sh/uv' && !contains(github.event.pull_request.labels.*.name, 'no-test') && (needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main') }}
timeout-minutes: 20
steps:
- name: "Checkout Branch"