Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to '.github/workflows/autopublish.yaml')
-rw-r--r--.github/workflows/autopublish.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/autopublish.yaml b/.github/workflows/autopublish.yaml
index e4fa94643b..d3f0499e43 100644
--- a/.github/workflows/autopublish.yaml
+++ b/.github/workflows/autopublish.yaml
@@ -11,7 +11,7 @@ on:
jobs:
publish:
- if: ${{ github.repository == 'rust-lang/rust-analyzer' || github.event.action == 'workflow_dispatch' }}
+ if: ${{ github.repository == 'rust-lang/rust-analyzer' || github.event_name == 'workflow_dispatch' }}
name: publish
runs-on: ubuntu-latest
steps: