skip tests with GHA secrets on forks (#496)

This commit is contained in:
Evan Tahler 2025-07-17 10:27:24 -07:00 committed by GitHub
parent b81bb86dfb
commit e1cf58fe1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -92,7 +92,8 @@ jobs:
uv run --active mypy --config-file=pyproject.toml
- name: Test stand-alone toolkits (with secrets)
if: github.repository == 'ArcadeAI/arcade-ai'
if: |
!github.event.pull_request.head.repo.fork
working-directory: toolkits/${{ matrix.toolkit }}
env:
TEST_POSTGRES_DATABASE_CONNECTION_STRING: ${{ secrets.TEST_POSTGRES_DATABASE_CONNECTION_STRING }} # TODO: dynamically only load the `TEST_${{ matrix.toolkit }}_DATABASE_CONNECTION_STRING secret`