Skip to content

Commit fcf686b

Browse files
authored
Fix wheels action fuckup
`github.event` is the full webhook payload so it never matches a string literal...
1 parent d18cb7e commit fcf686b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pyo3-wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ jobs:
224224
name: Release
225225
runs-on: ubuntu-latest
226226
needs: [py-release-tests, py-release-sdist]
227-
if: github.event == 'workflow_dispatch' && inputs.release
227+
if: github.event_name == 'workflow_dispatch' && inputs.release
228228
permissions:
229229
# Use to sign the release artifacts
230230
id-token: write

0 commit comments

Comments
 (0)