-
Notifications
You must be signed in to change notification settings - Fork 0
Migrate dependency-update workflow to GitHub Agentic Workflows #1065
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
dgee2
merged 2 commits into
main
from
dgee2/issue-1064-migrate-dependency-update-workflow-to-gi-fb1450
May 23, 2026
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| { | ||
| "entries": { | ||
| "actions/github-script@v9.0.0": { | ||
| "repo": "actions/github-script", | ||
| "version": "v9.0.0", | ||
| "sha": "3a2844b7e9c422d3c10d287c895573f7108da1b3" | ||
| }, | ||
| "github/gh-aw-actions/setup@v0.74.8": { | ||
| "repo": "github/gh-aw-actions/setup", | ||
| "version": "v0.74.8", | ||
| "sha": "efa55847f72aadb03490d955263ff911bf758700" | ||
| } | ||
| } | ||
| } |
1,478 changes: 1,478 additions & 0 deletions
1,478
.github/workflows/dependency-update-dotnet.lock.yml
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,61 @@ | ||
| --- | ||
| on: | ||
| schedule: | ||
| # Run weekly on Friday at 09:00 UTC so dependency PRs stay predictable and reviewable. | ||
| - cron: '0 9 * * 5' | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: read | ||
| issues: read | ||
| pull-requests: read | ||
|
|
||
| engine: | ||
| id: copilot | ||
| env: | ||
| # Fine-grained PAT with "Copilot Requests" permission — stored as COPILOT_TOKEN in this repository. | ||
| COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_TOKEN }} | ||
|
|
||
| checkout: | ||
| - fetch-depth: 0 | ||
|
|
||
| network: | ||
| allowed: | ||
| - defaults | ||
| - github | ||
| - dotnet | ||
|
|
||
| tools: | ||
| edit: | ||
| bash: [":*"] | ||
| github: | ||
| toolsets: [default] | ||
|
|
||
| safe-outputs: | ||
| create-pull-request: | ||
| max: 10 | ||
| preserve-branch-name: true | ||
| recreate-ref: true | ||
| fallback-as-issue: false | ||
| close-pull-request: | ||
| max: 10 | ||
| add-labels: | ||
| max: 30 | ||
| --- | ||
|
|
||
| Read `.github/prompts/dependency-update.prompt.md` and apply these repository skills: | ||
| - `dependency-update-dotnet` | ||
| - `dependency-update-pr-description` | ||
|
|
||
| Assume the current workspace is the target repository and the current working directory is the repository root. | ||
|
|
||
| Runtime parameters: | ||
| - Ecosystem: .NET / NuGet | ||
| - Branch prefix override: copilot/dependency-update/dotnet | ||
| - Default branch override: ${{ github.event.repository.default_branch }} | ||
| - Interaction mode: unattended | ||
| - Prerelease policy: Consider prerelease versions only when the current version is prerelease; otherwise prefer stable releases. | ||
|
|
||
| Use those runtime parameters when following the prompt and skills. | ||
| If the prompt or skill says to ask clarifying questions, resolve them from the runtime parameters and the repository state instead of waiting for user input. | ||
| If any required validation command fails for a planned update, record the failure, do not create or finalise that pull request, continue attempting any remaining planned update groups or pull requests, and exit with a non-zero status code only after all planned work has been attempted. | ||
1,478 changes: 1,478 additions & 0 deletions
1,478
.github/workflows/dependency-update-github-actions.lock.yml
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,62 @@ | ||
| --- | ||
| name: "Dependency Update GitHub Actions" | ||
| on: | ||
| schedule: | ||
| # Run weekly on Friday at 09:00 UTC so dependency PRs stay predictable and reviewable. | ||
| - cron: '0 9 * * 5' | ||
|
dgee2 marked this conversation as resolved.
|
||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: read | ||
| issues: read | ||
| pull-requests: read | ||
|
|
||
| engine: | ||
| id: copilot | ||
| env: | ||
| # Fine-grained PAT with "Copilot Requests" permission — stored as COPILOT_TOKEN in this repository. | ||
| COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_TOKEN }} | ||
|
|
||
| checkout: | ||
| - fetch-depth: 0 | ||
|
|
||
| network: | ||
| allowed: | ||
| - defaults | ||
| - github | ||
|
|
||
| tools: | ||
| edit: | ||
| bash: [":*"] | ||
| github: | ||
| toolsets: [default] | ||
|
|
||
| safe-outputs: | ||
| create-pull-request: | ||
| max: 10 | ||
| preserve-branch-name: true | ||
| recreate-ref: true | ||
| fallback-as-issue: false | ||
|
dgee2 marked this conversation as resolved.
|
||
| close-pull-request: | ||
| max: 10 | ||
| add-labels: | ||
| max: 30 | ||
| --- | ||
|
|
||
| Read `.github/prompts/dependency-update.prompt.md` and apply these repository skills: | ||
| - `dependency-update-github-actions` | ||
| - `dependency-update-pr-description` | ||
|
|
||
| Assume the current workspace is the target repository and the current working directory is the repository root. | ||
|
|
||
| Runtime parameters: | ||
| - Ecosystem: GitHub Actions | ||
| - Branch prefix override: copilot/dependency-update/github-actions | ||
| - Default branch override: ${{ github.event.repository.default_branch }} | ||
| - Interaction mode: unattended | ||
| - GitHub Actions discovery scope: actions and reusable workflows | ||
| - Prerelease policy: Consider prerelease versions only when the current version is prerelease; otherwise prefer stable releases. | ||
|
|
||
| Use those runtime parameters when following the prompt and skills. | ||
| If the prompt or skill says to ask clarifying questions, resolve them from the runtime parameters and the repository state instead of waiting for user input. | ||
| If any required validation command fails for a planned update, record the failure, do not create or finalise that pull request, continue attempting any remaining planned update groups or pull requests, and exit with a non-zero status code only after all planned work has been attempted. | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.