Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(ci): publish local-stack-binaries on every main push (#5866)

teoce54a43211ef
diff --git a/.github/workflows/push_local_stack_binaries.yml b/.github/workflows/push_local_stack_binaries.yml
index fbb474f146..90ef6dc9fb 100644
--- a/.github/workflows/push_local_stack_binaries.yml
+++ b/.github/workflows/push_local_stack_binaries.yml
@@ -5,19 +5,6 @@ name: Push local stack binaries
push:
branches:
- main
- paths:
- - Cargo.toml
- - Cargo.lock
- - rust-toolchain.toml
- - crates/**
- - services/**
- - nix/**
- - nix-support/**
- - flake.nix
- - flake.lock
- - '.github/actions/setup-nix/**'
- - '.github/actions/teardown-nix/**'
- - '.github/workflows/push_local_stack_binaries.yml'
workflow_dispatch: {}
permissions:
contents: read
diff --git a/tooling/xtask/crates/xtask_workflows/src/workflows/push_local_stack_binaries.rs b/tooling/xtask/crates/xtask_workflows/src/workflows/push_local_stack_binaries.rs
index c0132f3820..2f0fc2ae4d 100644
--- a/tooling/xtask/crates/xtask_workflows/src/workflows/push_local_stack_binaries.rs
+++ b/tooling/xtask/crates/xtask_workflows/src/workflows/push_local_stack_binaries.rs
@@ -15,23 +15,7 @@ use crate::workflows::{runners, steps};
/// Build the workflow.
pub fn push_local_stack_binaries() -> Workflow {
- let mut push = Push::default().add_branch("main");
- for path in [
- xtask_paths::repo_glob!("Cargo.toml"),
- xtask_paths::repo_glob!("Cargo.lock"),
- xtask_paths::repo_glob!("rust-toolchain.toml"),
- xtask_paths::repo_glob!("crates/**"),
- xtask_paths::repo_glob!("services/**"),
- xtask_paths::repo_glob!("nix/**"),
- xtask_paths::repo_glob!("nix-support/**"),
- xtask_paths::repo_glob!("flake.nix"),
- xtask_paths::repo_glob!("flake.lock"),
- xtask_paths::repo_glob!(".github/actions/setup-nix/**"),
- xtask_paths::repo_glob!(".github/actions/teardown-nix/**"),
- xtask_paths::repo_glob!(".github/workflows/push_local_stack_binaries.yml"),
- ] {
- push = push.add_path(path);
- }
+ let push = Push::default().add_branch("main");
Workflow::new("Push local stack binaries")
.permissions(Permissions {