Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows-disabled/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Archived automation workflows

The workflows in this directory are intentionally archived during the controlled-demo and manual-review phase.
They are preserved for future reference, but they are not active GitHub Actions workflows while they remain outside `.github/workflows/`.

Do not restore these workflows until the repository's branch protection, required labels, GitHub App permissions, and merge policy have been reviewed together.

If an archived workflow is restored, it must use a valid `pull_request` context or explicit `workflow_dispatch` inputs, such as `pr_number`, before it attempts to approve, merge, or otherwise act on a pull request.
5 changes: 3 additions & 2 deletions docs/REPO_ENV_AUDIT_2026-03-31.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ This audit covers:

### 4) Workflow automation has broad write-level behavior that should be revalidated (P1)
**What was observed**
- Auto-merge workflow has top-level `contents: write` and `pull-requests: write` permissions.
- Auto-approve flow can auto-approve and auto-merge labeled PRs after checks.
- Auto-approve and auto-merge automation workflows are archived under `.github/workflows-disabled/` during the controlled-demo/manual-review phase; they are not active workflows.
- The archived workflows must not be restored until branch protection, required labels, GitHub App permissions, and merge policy are reviewed together.
- If restored, the workflows must use a valid `pull_request` context or explicit `workflow_dispatch` inputs such as `pr_number` before approving or merging pull requests.

**Why this matters**
- Automation blast radius is higher when write permissions are broad.
Expand Down
Loading