Skip to content

Creates a weekly deps upgrade skill and workflow - #263

Open
Diego Luces (dluces) wants to merge 6 commits into
mainfrom
user/dilucesr/upgrade_skill
Open

Creates a weekly deps upgrade skill and workflow#263
Diego Luces (dluces) wants to merge 6 commits into
mainfrom
user/dilucesr/upgrade_skill

Conversation

@dluces

Copy link
Copy Markdown
Collaborator
  • Add weekly dependency upgrade skill
  • Require sample validation evidence for agent PRs

dilucesr and others added 4 commits August 14, 2026 09:58
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds automated weekly dependency upgrades and repository-wide validation evidence handling.

Changes:

  • Adds dependency-upgrade workflow, agent, and skills.
  • Adds validation orchestration, sanitization, and publishing scripts.
  • Establishes mandatory PR validation evidence requirements.

Validation gate: Required validation evidence is absent from the provided PR metadata.

Reviewed changes

Copilot reviewed 11 out of 12 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
AGENTS.md Defines validation requirements.
.gitattributes Marks generated workflow locks.
.github/agents/dependency-upgrade.agent.md Configures the upgrade agent.
.github/copilot-instructions.md Enforces validation evidence.
.github/skills/sample-validation-evidence/SKILL.md Documents evidence publication.
.github/skills/weekly-dependency-upgrade/SKILL.md Defines upgrade procedures.
.github/workflows/weekly-dependency-upgrades.md Defines weekly automation.
.github/workflows/weekly-dependency-upgrades.lock.yml Compiled workflow definition.
Tools/powershell/Invoke-RepositoryValidation.ps1 Runs sample validators.
Tools/powershell/Publish-ValidationArtifacts.ps1 Publishes sanitized evidence.
Tools/powershell/README.md Documents validation tooling.
Tools/powershell/Sanitize-ValidationArtifacts.ps1 Sanitizes validation artifacts.
Suppressed comments (1)

.github/workflows/weekly-dependency-upgrades.md:50

  • The installed upgrade skill requires both gnjoseph and dluces, but the compiled safe-output configuration derives reviewers only from this list and currently assigns just gnjoseph. Add dluces here and recompile the lock file so the workflow can satisfy its own reviewer requirement.
    reviewers:
      - gnjoseph

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/copilot-instructions.md
Comment on lines +16 to +19
$outputPath = [System.IO.Path]::GetFullPath($OutputDirectory)
$allowedOutputRoot = [System.IO.Path]::GetFullPath((Join-Path $repositoryRootPath '.validation/sanitized'))
if (-not $outputPath.StartsWith($allowedOutputRoot, [System.StringComparison]::OrdinalIgnoreCase)) {
throw "OutputDirectory must be under '$allowedOutputRoot'."

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot make this suggested change.

Comment on lines +30 to +32
$artifactPath = (Resolve-Path $ArtifactDirectory).Path
if (-not $artifactPath.StartsWith($sanitizedRoot, [System.StringComparison]::OrdinalIgnoreCase)) {
throw "ArtifactDirectory must be under '$sanitizedRoot'. Raw validation artifacts cannot be published."

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot make this suggested change.

Comment on lines +81 to +82
foreach ($validationDirectory in $validationDirectories) {
foreach ($sourceFile in Get-ChildItem -Path $validationDirectory.FullName -File -Recurse -Force) {

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot make this suggested change.

Comment on lines +29 to +31
$discoveredScripts = Get-ChildItem -Path $repositoryRoot -Filter 'validate-sample.ps1' -File -Recurse |
Where-Object { $_.FullName -notmatch '[\\/](?:node_modules|bin|obj)[\\/]' } |
ForEach-Object { [System.IO.Path]::GetRelativePath($repositoryRoot, $_.FullName).Replace('\', '/') }

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot update the README to remove support for PowerShell 5.1 or any version of .NET Framework (only the latest PowerShell version and .Net core should be supported).

Comment thread .github/workflows/weekly-dependency-upgrades.md
continue
}

$relativePath = [System.IO.Path]::GetRelativePath($repositoryRootPath, $sourceFile.FullName)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot declare PowerShell 7 as required.

Co-authored-by: dluces <262662+dluces@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants