From 9c36fdf22635c5650159d7fdd8bdc29294a406eb Mon Sep 17 00:00:00 2001 From: IT Date: Wed, 3 Jul 2024 10:56:37 +0200 Subject: [PATCH] using a different ref 3 --- .github/workflows/python.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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