Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
extension_ci: Ensure version bump does not happen too often (#50108)
Finn Eversc40cc0cd6ef0
diff --git a/extensions/workflows/shared/bump_version.yml b/extensions/workflows/shared/bump_version.ymlindex bbf7e9b11ca..dbe92a43a5a 100644--- a/extensions/workflows/shared/bump_version.yml+++ b/extensions/workflows/shared/bump_version.yml@@ -52,7 +52,7 @@ jobs:app-secret: ${{ secrets.ZED_ZIPPY_APP_PRIVATE_KEY }}with:bump-type: ${{ needs.determine_bump_type.outputs.bump_type }}- force-bump: true+ force-bump: ${{ github.event_name != 'push' }}concurrency:group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.ref_name == 'main' && github.sha || 'anysha' }}labelscancel-in-progress: truediff --git a/tooling/xtask/src/tasks/workflows/extensions/bump_version.rs b/tooling/xtask/src/tasks/workflows/extensions/bump_version.rsindex d6fa479095b..2d82f1351f2 100644--- a/tooling/xtask/src/tasks/workflows/extensions/bump_version.rs+++ b/tooling/xtask/src/tasks/workflows/extensions/bump_version.rs@@ -57,7 +57,7 @@ pub(crate) fn call_bump_version(.with(Input::default().add("bump-type", bump_type.to_string())- .add("force-bump", true),+ .add("force-bump", "${{ github.event_name != 'push' }}"),).with_app_secrets();