Skip to content

Commit

Permalink
using a different ref 2
Browse files Browse the repository at this point in the history
  • Loading branch information
atlaeu committed Jul 3, 2024
1 parent dcc4358 commit eca00a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_ACTION_ACCESS_TOKEN }}
ref: ${{ github.event.pull_request.head.ref }}
ref: ${{ github.event.release.head.ref }}
repository: ${{ github.repository_owner }}/${{ github.event.repository.name }}
fetch-depth: 0
- name: Set up Python
Expand All @@ -85,7 +85,7 @@ jobs:
uses: onfido/onfido-actions/release-check@main
- name: Log info
run: |
echo "ref: ${{ github.event.pull_request.head.ref }}"
echo "ref: ${{ github.event.release.head.ref }}"
echo "repository: ${{ github.repository_owner }}/${{ github.event.repository.name }}"
# - name: Build package
# run: python -m build
Expand Down

0 comments on commit eca00a3

Please sign in to comment.