Fix extension CI workflow disclaimer (#43926)

Finn Evers created

Release Notes:

- N/A

Change summary

extensions/workflows/bump_version.yml    | 2 +-
extensions/workflows/release_version.yml | 2 +-
extensions/workflows/run_tests.yml       | 2 +-
tooling/xtask/src/tasks/workflows.rs     | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)

Detailed changes

extensions/workflows/bump_version.yml 🔗

@@ -1,4 +1,4 @@
-# Generated from xtask::workflows:: within the Zed repository.extensions::bump_version
+# Generated from xtask::workflows::extensions::bump_version within the Zed repository.
 # Rebuild with `cargo xtask workflows`.
 name: extensions::bump_version
 on:

extensions/workflows/release_version.yml 🔗

@@ -1,4 +1,4 @@
-# Generated from xtask::workflows:: within the Zed repository.extensions::release_version
+# Generated from xtask::workflows::extensions::release_version within the Zed repository.
 # Rebuild with `cargo xtask workflows`.
 name: extensions::release_version
 on:

extensions/workflows/run_tests.yml 🔗

@@ -1,4 +1,4 @@
-# Generated from xtask::workflows:: within the Zed repository.extensions::run_tests
+# Generated from xtask::workflows::extensions::run_tests within the Zed repository.
 # Rebuild with `cargo xtask workflows`.
 name: extensions::run_tests
 on:

tooling/xtask/src/tasks/workflows.rs 🔗

@@ -82,10 +82,10 @@ impl WorkflowType {
                 "# Generated from xtask::workflows::{}{}\n",
                 "# Rebuild with `cargo xtask workflows`.",
             ),
+            workflow_name,
             matches!(self, WorkflowType::Extensions)
                 .then_some(" within the Zed repository.")
                 .unwrap_or_default(),
-            workflow_name
         )
     }