Skip to content

fix: add dotnet/node network access and allow workflow file updates in dependency update workflows#1080

Merged
dgee2 merged 4 commits into
mainfrom
dgee2/fix-dependency-update-workflows
May 26, 2026
Merged

fix: add dotnet/node network access and allow workflow file updates in dependency update workflows#1080
dgee2 merged 4 commits into
mainfrom
dgee2/fix-dependency-update-workflows

Conversation

@dgee2

@dgee2 dgee2 commented May 26, 2026

Copy link
Copy Markdown
Owner

Fixes #1077 and #1078 with the agentic dependency update workflows. See commit message for full details.

…n agentic dependency update workflows

- Add 'dotnet' and 'node' to network allowed list in dependency-update-github-actions.md
  so the validation step can run dotnet restore/build and pnpm install/build (fixes firewall
  blocking api.nuget.org during validation)
- Add 'dotnet' to network allowed list in dependency-update-node.md so the backend can be
  built to generate the OpenAPI spec required for frontend type-check validation
- Change protected-files policy from 'fallback-to-issue' to 'allowed' with .github/workflows/
  and .github/actions/ excluded from the protected set in dependency-update-github-actions.md,
  since this workflow is explicitly designed to update workflow files
- Add github-token: GH_AW_GITHUB_TOKEN to create-pull-request safe-output so a PAT with
  workflow scope is used when pushing changes to .github/workflows/*.yml files
- Recompile all modified .lock.yml files via 'gh aw compile'

Fixes #1077 and #1078

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 26, 2026 07:03

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

This PR updates agentic dependency update workflows so validation can access additional package ecosystems and GitHub Actions dependency updates can create PRs that modify workflow/action files.

Changes:

  • Adds .NET network access to the Node dependency update workflow.
  • Adds .NET and Node network access to the GitHub Actions dependency update workflow.
  • Changes GitHub Actions dependency update safe-output settings to allow protected workflow/action file updates using GH_AW_GITHUB_TOKEN.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/dependency-update-node.md Adds dotnet to allowed network groups.
.github/workflows/dependency-update-node.lock.yml Regenerated compiled workflow reflecting the Node workflow network change.
.github/workflows/dependency-update-github-actions.md Adds dotnet/node network groups and configures workflow/action file update permissions.
.github/workflows/dependency-update-github-actions.lock.yml Regenerated compiled workflow reflecting network, protected-file, and token configuration changes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/dependency-update-github-actions.md
…ate workflow

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The dotnet skill validation runs pnpm commands (generate-openapi, lint,
build, test) which require npm/pnpm registry access. Add the node network
group so those steps are not blocked by the firewall.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 26, 2026 07:48

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

Copilot reviewed 6 out of 6 changed files in this pull request and generated no new comments.

package.json and pnpm-lock.yaml are in the default protected-files set.
Explicitly exclude them so the workflow can create PRs rather than being
blocked by the supply-chain protection layer.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@sonarqubecloud

Copy link
Copy Markdown

@dgee2 dgee2 merged commit 078146d into main May 26, 2026
18 checks passed
@dgee2 dgee2 deleted the dgee2/fix-dependency-update-workflows branch May 26, 2026 08:33
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.

chore(deps): update GitHub Actions dependencies

2 participants