You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by as...@apache.org on 2026/08/30 11:14:54 UTC
(maka) 01/01: ci: declare the Desktop Nightly environment
This is an automated email from the ASF dual-hosted git repository.
Astro-Han pushed a commit to branch ci/nightly-environment
in repository https://gitbox.apache.org/repos/asf/maka.git
commit fcad4a5a44bae6043e85ab79833f2d4c2d3fff7b
Author: AstroHan <le...@outlook.com>
AuthorDate: Sun Aug 30 19:14:42 2026 +0800
ci: declare the Desktop Nightly environment
Declare a main-only, approval-free Nightly deployment environment through ASF's self-service repository configuration. Extend the repository control-plane contract so the environment cannot drift to another ref or approval model.
Generated-by: Codex
---
.asf.yaml | 9 +++++++++
scripts/product-release.test.mjs | 20 +++++++++++---------
2 files changed, 20 insertions(+), 9 deletions(-)
diff --git a/.asf.yaml b/.asf.yaml
index ceacc9ef40..b85c3649de 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -110,6 +110,15 @@ github:
policies:
- name: main
type: branch
+ nightly:
+ required_reviewers: []
+ wait_timer: 0
+ prevent_self_review: false
+ deployment_branch_policy:
+ protected_branches: false
+ policies:
+ - name: main
+ type: branch
product-release:
required_reviewers:
- id: M4n5ter
diff --git a/scripts/product-release.test.mjs b/scripts/product-release.test.mjs
index 334554aa76..04023366bc 100644
--- a/scripts/product-release.test.mjs
+++ b/scripts/product-release.test.mjs
@@ -777,15 +777,17 @@ test('repository control plane admits only each release phase owner ref', async
},
});
}
- assert.deepEqual(environments['npm-publication'], {
- required_reviewers: [],
- wait_timer: 0,
- prevent_self_review: false,
- deployment_branch_policy: {
- protected_branches: false,
- policies: [{ name: 'main', type: 'branch' }],
- },
- });
+ for (const name of ['npm-publication', 'nightly']) {
+ assert.deepEqual(environments[name], {
+ required_reviewers: [],
+ wait_timer: 0,
+ prevent_self_review: false,
+ deployment_branch_policy: {
+ protected_branches: false,
+ policies: [{ name: 'main', type: 'branch' }],
+ },
+ });
+ }
assert.deepEqual(
config.github.rulesets.find((ruleset) => ruleset.name === 'Immutable release tags'),
{
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org