diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f0d1720..fc06009 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -87,11 +87,13 @@ jobs: # Release -- when PR is merged to main, bump version, make tag, recommit release: runs-on: ubuntu-latest + needs: [lint, test] timeout-minutes: 10 if: >- - github.event.pull_request.merged == true && - github.ref == '/refs/heads/main' + github.event.pull_request.merged == true steps: + - run: | + echo "${{ github.head_ref }} merged into ${{ github.ref }}" - uses: actions/checkout@v4 - name: Set up UV