diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index ae61349..057f82e 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -74,7 +74,7 @@ jobs: - uses: actions/checkout@v4 with: token: ${{ secrets.GH_ACTION_ACCESS_TOKEN }} - ref: ${{ github.event.release.head.ref }} + ref: ${{ github.ref_name }} repository: ${{ github.repository_owner }}/${{ github.event.repository.name }} fetch-depth: 0 - name: Set up Python @@ -85,7 +85,7 @@ jobs: uses: onfido/onfido-actions/release-check@main - name: Log info run: | - echo "ref: ${{ github.event.release.head.ref }}" + echo "ref: ${{ github.ref_name }}" echo "repository: ${{ github.repository_owner }}/${{ github.event.repository.name }}" # - name: Build package # run: python -m build