From 6a8bd3eb3bd95bca78adb6bee4d5b0a58d2ded7f Mon Sep 17 00:00:00 2001 From: Ryther Anderson Date: Sat, 2 Dec 2023 08:49:21 -0800 Subject: [PATCH] Rewrite if statement again --- .github/workflows/pypi-publish.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index fae37d6..afd9465 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -15,9 +15,8 @@ jobs: permissions: id-token: write if: | - github.event_name == 'workflow_run' && - startsWith(github.ref, 'refs/tags/') && - ${{ github.event.workflow_run.conclusion == 'success' }} + github.event.workflow_run.conclusion == 'success' && + startsWith(github.ref, 'refs/tags/') steps: - uses: actions/checkout@v4 - name: Set up Python