diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index 5ca9ba3de..c98cce215 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -1,8 +1,6 @@ name: Test on: - pull_request: - branches: [ main ] # 05:00 UTC = 06:00 CET = 07:00 CEST schedule: - cron: "0 5 * * *" @@ -79,7 +77,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: ${{ env.depth }} - repository: ${{ github.event.workflow_run.repository }} + repository: ${{ github.event.workflow_run.repository.fullname }} ref: ${{ github.event.workflow_run.head_branch }} - name: Fetch tags (for setuptools-scm) @@ -166,7 +164,7 @@ jobs: if: github.event_name == 'workflow_run' uses: actions/checkout@v4 with: - repository: ${{ github.event.workflow_run.repository }} + repository: ${{ github.event.workflow_run.repository.fullname }} ref: ${{ github.event.workflow_run.head_branch }} - uses: actions/setup-python@v5