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