mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-06 05:51:15 +08:00
docs: document scoped script helpers
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
// GitHub dependency-change guard: detects dependency files, manages override
|
||||
// comments/labels, and can autoscrub lockfile-only PR changes.
|
||||
import { appendFile, readFile } from "node:fs/promises";
|
||||
import { readBoundedResponseText } from "../lib/bounded-response.mjs";
|
||||
|
||||
/** Marker used to identify dependency guard comments. */
|
||||
export const dependencyChangeMarker = "<!-- openclaw:dependency-guard -->";
|
||||
export const dependencyGraphGuardMarker = "<!-- openclaw:dependency-graph-guard -->";
|
||||
export const dependencyChangedLabel = "dependencies-changed";
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env node
|
||||
// Checks PR real-behavior proof labels/comments and writes GitHub Action outputs.
|
||||
import { readFileSync } from "node:fs";
|
||||
import { pathToFileURL } from "node:url";
|
||||
import {
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
// Shared real-behavior proof policy for GitHub PR checks and label decisions.
|
||||
import { readBoundedResponseText } from "../lib/bounded-response.mjs";
|
||||
|
||||
/** Label that lets maintainers override real-behavior proof requirements. */
|
||||
export const PROOF_OVERRIDE_LABEL = "proof: override";
|
||||
export const PROOF_SUPPLIED_LABEL = "proof: supplied";
|
||||
export const PROOF_SUFFICIENT_LABEL = "proof: sufficient";
|
||||
|
||||
Reference in New Issue
Block a user