Files
oak-gpui/tooling/xtask/src/tasks/workflows/extensions/mod.rs
T
Finn Evers c8166abbcb Add more workflows for extension repositories (#43924)
This PR adds workflows to be used for CD in extension reposiories in the
`zed-extensions` organization and updates some of the existing ones with
minor improvemts.

Release Notes:

- N/A
2025-12-01 19:00:54 +01:00

25 lines
602 B
Rust

use gh_workflow::{Job, UsesJob};
use indexmap::IndexMap;
use crate::tasks::workflows::vars;
pub(crate) mod bump_version;
pub(crate) mod release_version;
pub(crate) mod run_tests;
pub(crate) trait WithAppSecrets: Sized {
fn with_app_secrets(self) -> Self;
}
impl WithAppSecrets for Job<UsesJob> {
fn with_app_secrets(self) -> Self {
self.secrets(IndexMap::from([
("app-id".to_owned(), vars::ZED_ZIPPY_APP_ID.to_owned()),
(
"app-secret".to_owned(),
vars::ZED_ZIPPY_APP_PRIVATE_KEY.to_owned(),
),
]))
}
}