From b46651b73779d5c575427d5432960f0c2ec8de3f Mon Sep 17 00:00:00 2001 From: Omar Shouman Date: Fri, 13 Dec 2024 15:10:41 +0200 Subject: [PATCH] Update pypi.yaml --- .github/workflows/pypi.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi.yaml b/.github/workflows/pypi.yaml index 3b67bba..592c1bd 100644 --- a/.github/workflows/pypi.yaml +++ b/.github/workflows/pypi.yaml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest if: | github.event.workflow_run.conclusion == 'success' && - github.event.workflow_run.head_commit.ref == 'refs/heads/main' + github.event.workflow_run.head_branch == 'main' steps: - uses: actions/checkout@v4 - name: Set up Python