Repository navigation
XS✔ ◾ Restore unattended CI dependency updates - #886
Muiris Woulfe (muiriswoulfe) wants to merge 9 commits into
Conversation
Use native organization-billed Copilot inference after release initiation. Add a read-only branch probe to check access without merging into main. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: bbc1bf98-847f-4a02-9212-a22eaab288a5
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: bbc1bf98-847f-4a02-9212-a22eaab288a5
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: bbc1bf98-847f-4a02-9212-a22eaab288a5
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: bbc1bf98-847f-4a02-9212-a22eaab288a5
PR Metrics✔ Thanks for keeping your pull request small.
Metrics computed by PR Metrics. Add it to your Azure DevOps and GitHub PRs! |
Super-linter summary
All files and directories linted successfully For more information, see the GitHub Actions workflow run Powered by Super-linter |
There was a problem hiding this comment.
🟡 Changes recommended
Dependabot does not exclude generated workflows, so its updates to compiler-managed pins are reverted during recompilation and cause freshness checks to reject the PR.
1 open issue
6 files not reviewed
.github/workflows/actions.lock: Excluded by your content exclusion settings.github/workflows/build.yml: Excluded by your content exclusion settings.github/workflows/release-initiate.yml: Excluded by your content exclusion settings.github/workflows/release-publish.yml: Excluded by your content exclusion settings.github/workflows/update-ci-dependencies.lock.yml: Excluded by your content exclusion settings.github/workflows/update-ci-dependencies.md: Excluded by your content exclusion settings
What changed in this PR
Supports restoring unattended CI dependency updates for PR Metrics, replacing the manual refresh skill with a documented workflow-based process.
Changes:
- Document release-triggered updates, manual retries, required permissions, and lockfile maintenance.
- Add the compiler’s action-pin cache and identify generated workflow files.
- Remove the obsolete manual dependency-refresh skill.
| File | Description |
|---|---|
docs/dependency-management.md |
Documents automated refreshes, authentication, and lockfile regeneration. |
.github/aw/actions-lock.json |
Records the compiler setup action’s immutable pin. |
.gitattributes |
Marks compiled workflow YAML files as generated. |
.agents/skills/refresh-ci-dependencies/SKILL.md |
Removes the superseded manual refresh skill. |
Review effort: Max
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: bbc1bf98-847f-4a02-9212-a22eaab288a5
There was a problem hiding this comment.
🔵 Needs a closer look
Excluded workflow and lockfile changes prevent verification of agent isolation and privileged publication safeguards, while Azure signing and installation-level workflows:write release publication still require human validation.
No open issues 🎉
1 resolved since last review
6 files not reviewed
.github/workflows/actions.lock: Excluded by your content exclusion settings.github/workflows/build.yml: Excluded by your content exclusion settings.github/workflows/release-initiate.yml: Excluded by your content exclusion settings.github/workflows/release-publish.yml: Excluded by your content exclusion settings.github/workflows/update-ci-dependencies.lock.yml: Excluded by your content exclusion settings.github/workflows/update-ci-dependencies.md: Excluded by your content exclusion settings
Review effort: Max
- Added clarification on the verification of the actions lockfile. - Expanded on the Copilot CLI and agentic compiler updates. - Improved readability and structure of the document.
There was a problem hiding this comment.
🟡 Changes recommended
The .gitattributes setting collapses the native dependency lockfile diff by default, making security-relevant changes to transitive action pins easier to miss during review.
1 open issue
6 files not reviewed
.github/workflows/actions.lock: Excluded by your content exclusion settings.github/workflows/build.yml: Excluded by your content exclusion settings.github/workflows/release-initiate.yml: Excluded by your content exclusion settings.github/workflows/release-publish.yml: Excluded by your content exclusion settings.github/workflows/update-ci-dependencies.lock.yml: Excluded by your content exclusion settings.github/workflows/update-ci-dependencies.md: Excluded by your content exclusion settings
Review effort: Max
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: bbc1bf98-847f-4a02-9212-a22eaab288a5
There was a problem hiding this comment.
🔵 Needs a closer look
Core security-sensitive workflows are excluded from review, leaving trigger guards, permissions, and privileged publication boundaries unverified and requiring human review and runtime validation.
No open issues 🎉
1 resolved since last review
6 files not reviewed
.github/workflows/actions.lock: Excluded by your content exclusion settings.github/workflows/build.yml: Excluded by your content exclusion settings.github/workflows/release-initiate.yml: Excluded by your content exclusion settings.github/workflows/release-publish.yml: Excluded by your content exclusion settings.github/workflows/update-ci-dependencies.lock.yml: Excluded by your content exclusion settings.github/workflows/update-ci-dependencies.md: Excluded by your content exclusion settings
Review effort: Max
- Adjust line breaks for better readability - Ensure consistent presentation of information
There was a problem hiding this comment.
🔵 Needs a closer look
Core workflow sources and the generated executable are excluded from review, leaving security-sensitive permissions, signing boundaries, and unexercised release-PR publication controls requiring human validation.
No open issues 🎉
5 files not reviewed
.github/workflows/build.yml: Excluded by your content exclusion settings.github/workflows/pr-automation.yml: Excluded by your content exclusion settings.github/workflows/release-initiate.yml: Excluded by your content exclusion settings.github/workflows/update-ci-dependencies.lock.yml: Excluded by your content exclusion settings.github/workflows/update-ci-dependencies.md: Excluded by your content exclusion settings
Review effort: Max
There was a problem hiding this comment.
🔵 Needs a closer look
Excluded core workflows prevent verification of agent isolation and privileged signing/publication controls, and end-to-end release publication remains unvalidated, requiring human review.
No open issues 🎉
5 files not reviewed
.github/workflows/build.yml: Excluded by your content exclusion settings.github/workflows/pr-automation.yml: Excluded by your content exclusion settings.github/workflows/release-initiate.yml: Excluded by your content exclusion settings.github/workflows/update-ci-dependencies.lock.yml: Excluded by your content exclusion settings.github/workflows/update-ci-dependencies.md: Excluded by your content exclusion settings
Review effort: Max

Summary
main, with a guarded manual retry. Copilot uses the nativeGITHUB_TOKENandcopilot-requests: writefor organization billing, without a personal PAT.Testing
Test Types
Unit Test Coverage
Earlier restoration validation:
npm run test:no-installpassed with 904 tests and 100% statement, branch, function, and line coverage. This result predates the subsequent merge frommain. Application tests were not rerun for the latest workflow-only removal.Other Test Details
The live organization-token billing probe passed with Copilot
1.0.103, returningORG_BILLING_OKwithout a PAT or interactive sign-in. The temporary probe is not part of this PR.Latest native-lockfile removal:
gh aw compile update-ci-dependencies --validate --no-check-update: passed twice, with zero warnings and identical generated workflow hashes.git diff --check: passed.git check-attr linguist-generated -- .github/workflows/actions.lock .github/workflows/update-ci-dependencies.lock.yml .github/aw/actions-lock.json: passed. The removed native lockfile has no generated attribute; compiler artifacts remain generated.npx --no-install prettier@3.9.10 --check '.github\workflows\build.yml' '.github\workflows\pr-automation.yml' '.github\workflows\release-initiate.yml' '.github\workflows\release-publish.yml' '.github\workflows\update-ci-dependencies.md' 'docs\dependency-management.md': blocked by NVM trust errorNVM4306. No trust settings were changed.Release-PR publication was not dispatched. The first release run on
mainmust confirm Azure signing, installation-levelworkflows: write, and safe-output publication. No release or merge was performed.Screenshots
Not applicable. This changes repository automation only.