diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 28f488f7..7abac91e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,10 +1,9 @@ -name: ytld-sub release +name: ytld-sub Release on: push: # publish only when pushed to master branches: - master - pull_request: jobs: pypi-publish: name: pypi-publish @@ -16,7 +15,8 @@ jobs: steps: - uses: actions/checkout@v3 with: - fetch-depth: 0 + fetch-depth: 0 # Needed for correct commit count. TODO: define once using GH actions + ref: master - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v3 @@ -41,7 +41,7 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - ref: master + ref: master # Needed for correct commit count. TODO: define once using GH actions - name: Set version envs 1/3 run: |