Skip to content

Commit 6d357ec

Browse files
tclemCopilot
andcommitted
Remove internal rollout context
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent ce17651 commit 6d357ec

3 files changed

Lines changed: 4 additions & 12 deletions

File tree

.github/scripts/apply-dependency-update

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -144,12 +144,6 @@ fi
144144
title=$(tr -d '\n' < "$bundle_dir/title.txt")
145145

146146
cat "$bundle_dir/body.md" > "$RUNNER_TEMP/pr-body.md"
147-
cat >> "$RUNNER_TEMP/pr-body.md" <<'EOF'
148-
149-
---
150-
151-
This draft is a reference implementation using the workflow `GITHUB_TOKEN`. GitHub does not trigger new workflow runs from branch pushes or PR mutations made with that token, so a maintainer must trigger or approve CI. Fully autonomous post-PR repair requires a proven least-privilege GitHub App installation token or PAT scoped to the reserved dependency branches and their pull requests.
152-
EOF
153147

154148
git checkout -B "$branch"
155149
git apply --index --binary "$bundle_dir/final.patch"

.github/scripts/generate-dependency-update

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ Make the smallest consumer repair justified by the validation log. Do not weaken
152152
- $agent_output_dir/title.txt: one concise single-line PR title.
153153
- $agent_output_dir/body.md: a compact PR body explaining why the update exists, the dependency/version changes visible in deterministic.diff, and concrete risk.
154154
155-
Do not add a signature, credential discussion, reviewer request, validation or CI status section, or implementation recap; the trusted apply job adds the fixed operational footer.
155+
Do not add a signature, authentication discussion, reviewer request, validation or CI status section, or implementation recap.
156156
EOF
157157
)
158158

.github/skills/update-deps/SKILL.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The workspace has 14 Cargo manifests: the virtual root, eight published crates (
2424

2525
`.github/workflows/update-dependencies.yaml` runs at the Thursday 06:17 UTC fleet slot. Its matrix is deliberately serial in this order: Cargo, npm, GitHub Actions.
2626

27-
Rollout order matters: merge and observe this repository-local automation before the central Blackbird dependency combiner excludes `github/rust-gems`, so dependency coverage has no gap.
27+
Roll out this repository-local automation before removing any existing dependency-update coverage, so there is no gap.
2828

2929
Each ecosystem run has two trust domains:
3030

@@ -65,11 +65,9 @@ The Copilot CLI is started with `--add-dir .` so this project skill is loaded as
6565
- Never mark a PR ready, merge it, close superseded PRs, or request review. `CODEOWNERS` routes changes to `@github/blackbird-reviewers`.
6666
- Repair is bounded to three agent passes. Missing output, allowlist violations, failed final validation, and unexpected branch/PR state are explicit failures.
6767

68-
## Credentials
68+
## Authentication
6969

70-
The read-only generator uses `GITHUB_TOKEN` with `copilot-requests: write`, which bills Copilot usage to the organization. The writer currently uses the workflow `GITHUB_TOKEN` because no least-privilege PR-writer credential is proven for this repository.
71-
72-
GitHub suppresses workflow events caused by `GITHUB_TOKEN`, so draft dependency PRs created by this reference implementation require a maintainer-triggered or approved CI run. Fully autonomous post-PR CI repair requires a least-privilege GitHub App installation token or PAT with only the contents and pull-request permissions needed for the reserved branches and PRs. Do not invent or name a secret until that credential exists.
70+
The read-only generator uses `GITHUB_TOKEN` with `copilot-requests: write`, which bills Copilot usage to the organization. GitHub write authentication belongs only to the separate trusted apply job and must never be exposed to the Copilot CLI.
7371

7472
## Validation commands
7573

0 commit comments

Comments
 (0)