GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Replace dotnet/actions-create-pull-request with local composite action by joperezr · Pull Request #15964 · microsoft/aspire

Conversation

@joperezr

@joperezr Jose Perez Rodriguez (joperezr) commented Apr 8, 2026

Copy link
Copy Markdown
Member

Description

Replace the external dotnet/actions-create-pull-request GitHub Action with a local composite action at .github/actions/create-pull-request/action.yml.

Motivation

The dotnet/actions-create-pull-request fork is 482 commits behind upstream peter-evans/create-pull-request, still declares node16 in its action.yml, and has not incorporated the fix for actions/checkout@v6 compatibility (peter-evans#4230). This causes all workflows using it to fail with The process '/usr/bin/git' failed with exit code 128 due to duplicate Authorization headers.

Changes

  • New: .github/actions/create-pull-request/action.yml — a composite action using git and gh CLI (pre-installed on all runners). No external dependencies, no Node.js version concerns.
  • Updated 8 workflow files (9 usages) to reference ./.github/actions/create-pull-request instead of dotnet/actions-create-pull-request@e8d799aa1f8b17f324f9513832811b0a62f1e0b1:
    • generate-api-diffs.yml
    • generate-ats-diffs.yml
    • refresh-manifests.yml
    • refresh-typescript-sdks.yml
    • update-ai-foundry-models.yml
    • update-dependencies.yml
    • update-github-models.yml
    • release-github-tasks.yml (2 usages, using branch-already-exists: 'true')
  • Updated: docs/release-process.md to reflect the new action reference.

Security

A threat model was performed on the composite action:

  • All inputs flow through env: variables (never ${{ }} interpolation in run: blocks) to prevent expression injection
  • No eval — label arguments use bash arrays, PR body uses --body-file with a temp file
  • Token passed via GH_TOKEN env var, never on command lines
  • All callers trigger only on schedule or workflow_dispatch (requires repo write access)
  • Eliminates the unmaintained external dependency entirely

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
    • No. Follow-up changes expected.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • Yes
    • No
  • Did you add public API?
    • Yes
    • No
  • Does the change make any security assumptions or guarantees?
    • Yes
      • If yes, have you done a threat model and had a security review?
        • Yes
        • No
    • No
  • Does the change require an update in our Aspire docs?
    • Yes
    • No

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@joperezr
Fix broken actions after a break due to incompatibility between check…
38b48b7
…out step and create-pull-request action.
Copilot AI review requested due to automatic review settings April 8, 2026 17:36
@github-actions

github-actions Bot commented Apr 8, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 15964

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 15964"
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Copilot started reviewing on behalf of Jose Perez Rodriguez (joperezr) April 8, 2026 17:37
View session
@joperezr
Jose Perez Rodriguez (joperezr) requested a review from Ankit Jain (radical) April 8, 2026 17:39
Copilot AI reviewed Apr 8, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

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 replaces the repository’s dependency on the external dotnet/actions-create-pull-request action with a local composite action that uses git + gh CLI, then updates the scheduled/dispatch workflows and docs to use the new local action.

Changes:

  • Added a new composite action at .github/actions/create-pull-request/action.yml to create/update PRs via gh.
  • Updated 8 workflows (9 call sites) to use the local composite action instead of the external pinned action SHA.
  • Updated release process documentation to reference the local action.

Reviewed changes

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

Show a summary per file
File Description
.github/actions/create-pull-request/action.yml New composite action implementing commit/push and PR creation via git/gh.
.github/workflows/generate-api-diffs.yml Switched PR creation step to use the local action.
.github/workflows/generate-ats-diffs.yml Switched PR creation step to use the local action.
.github/workflows/refresh-manifests.yml Switched PR creation step to use the local action.
.github/workflows/refresh-typescript-sdks.yml Switched PR creation step to use the local action.
.github/workflows/update-ai-foundry-models.yml Switched PR creation step to use the local action.
.github/workflows/update-dependencies.yml Switched PR creation step to use the local action.
.github/workflows/update-github-models.yml Switched PR creation step to use the local action.
.github/workflows/release-github-tasks.yml Switched PR creation to local action and added branch-already-exists for pre-pushed branches.
docs/release-process.md Updated “approved actions” list to reference the local action.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread .github/actions/create-pull-request/action.yml Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread .github/actions/create-pull-request/action.yml Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread .github/actions/create-pull-request/action.yml Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread .github/actions/create-pull-request/action.yml
Comment on lines +84 to +88
EXISTING_PR=$(gh pr list --head "$BRANCH" --base "$BASE" --json number,url --jq '.[0] // empty')

if [ -n "$EXISTING_PR" ]; then
PR_NUMBER=$(echo "$EXISTING_PR" | jq -r '.number')
PR_URL=$(echo "$EXISTING_PR" | jq -r '.url')

Copilot AI Apr 8, 2026

Copy link

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

This step parses EXISTING_PR with jq, which adds an extra tool dependency. Since gh already supports --jq, you can avoid relying on jq being installed (especially on non-standard/self-hosted runners) by extracting number/url directly in the gh pr list call(s).

Suggested change
EXISTING_PR=$(gh pr list --head "$BRANCH" --base "$BASE" --json number,url --jq '.[0] // empty')
if [ -n "$EXISTING_PR" ]; then
PR_NUMBER=$(echo "$EXISTING_PR" | jq -r '.number')
PR_URL=$(echo "$EXISTING_PR" | jq -r '.url')
PR_NUMBER=$(gh pr list --head "$BRANCH" --base "$BASE" --json number --jq '.[0].number // empty')
if [ -n "$PR_NUMBER" ]; then
PR_URL=$(gh pr list --head "$BRANCH" --base "$BASE" --json url --jq '.[0].url // empty')

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Copilot uses AI. Check for mistakes.

@joperezr Jose Perez Rodriguez (joperezr) Apr 8, 2026

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Won't fix. jq is pre-installed on all GitHub-hosted runners (ubuntu-latest, windows-latest, macos-latest) and is already used extensively in other steps of release-github-tasks.yml. The extra gh pr list call suggested would double the API requests for the existing-PR path. Not worth the churn for a non-issue.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread .github/actions/create-pull-request/action.yml Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread docs/release-process.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot mentioned this pull request Apr 8, 2026
[pull requests] Review required #13834
Closed
@joperezr
Address PR review feedback: token auth, labels desc, operation output…
7487ac4
…, body writing, docs prefix
@github-actions

github-actions Bot commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

Re-running the failed jobs in the CI workflow for this pull request because 3 jobs were identified as retry-safe transient failures in the CI run attempt.
GitHub was asked to rerun all failed jobs for that attempt, and the rerun is being tracked in the rerun attempt.
The job links below point to the failed attempt jobs that matched the retry-safe transient failure rules.

  • Tests / Microsoft.Data.SqlClient / Microsoft.Data.SqlClient (windows-latest) - Failed step 'Build test project' will be retried because the job log shows a likely transient infrastructure network failure. Matched pattern: /Unable to load the service index for source https:\/\/(?:pkgs\.dev\.azure\.com\/dnceng|dnceng\.pkgs\.visualstudio\.com)\/public\/_packaging\//i.
  • Tests / Keycloak.Authentication / Keycloak.Authentication (windows-latest) - Failed step 'Set up job' matched the transient annotation allowlist.
  • Tests / Templates-NUnit_NewUpAndBuildSupportProjectTemplatesTests / Templates-NUnit_NewUpAndBuildSupportProjectTemplatesTests (ubuntu-latest) - Failed step 'Install sdk for nuget based testing' will be retried because the job log shows a likely transient infrastructure network failure. Matched pattern: /builds\.dotnet\.microsoft\.com.{0,160}(timed out|failed to connect|could not resolve|ENOTFOUND|ECONNRESET|EPROTO|Bad Gateway|SSL connection could not be established)/i.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

🎬 CLI E2E Test Recordings — 56 recordings uploaded (commit 7487ac4)

View recordings
Test Recording
AddPackageInteractiveWhileAppHostRunningDetached ▶️ View Recording
AddPackageWhileAppHostRunningDetached ▶️ View Recording
AgentCommands_AllHelpOutputs_AreCorrect ▶️ View Recording
AgentInitCommand_DefaultSelection_InstallsSkillOnly ▶️ View Recording
AgentInitCommand_MigratesDeprecatedConfig ▶️ View Recording
AllPublishMethodsBuildDockerImages ▶️ View Recording
AspireAddPackageVersionToDirectoryPackagesProps ▶️ View Recording
AspireUpdateRemovesAppHostPackageVersionFromDirectoryPackagesProps ▶️ View Recording
Banner_DisplayedOnFirstRun ▶️ View Recording
Banner_DisplayedWithExplicitFlag ▶️ View Recording
Banner_NotDisplayedWithNoLogoFlag ▶️ View Recording
CertificatesClean_RemovesCertificates ▶️ View Recording
CertificatesTrust_WithNoCert_CreatesAndTrustsCertificate ▶️ View Recording
CertificatesTrust_WithUntrustedCert_TrustsCertificate ▶️ View Recording
ConfigSetGet_CreatesNestedJsonFormat ▶️ View Recording
CreateAndRunAspireStarterProject ▶️ View Recording
CreateAndRunAspireStarterProjectWithBundle ▶️ View Recording
CreateAndRunEmptyAppHostProject ▶️ View Recording
CreateAndRunJavaEmptyAppHostProject ▶️ View Recording
CreateAndRunJsReactProject ▶️ View Recording
CreateAndRunPythonReactProject ▶️ View Recording
CreateAndRunTypeScriptEmptyAppHostProject ▶️ View Recording
CreateAndRunTypeScriptStarterProject ▶️ View Recording
CreateJavaAppHostWithViteApp ▶️ View Recording
CreateStartAndStopAspireProject ▶️ View Recording
CreateTypeScriptAppHostWithViteApp ▶️ View Recording
DashboardRunWithOtelTracesReturnsNoTraces ▶️ View Recording
DescribeCommandResolvesReplicaNames ▶️ View Recording
DescribeCommandShowsRunningResources ▶️ View Recording
DetachFormatJsonProducesValidJson ▶️ View Recording
DoctorCommand_DetectsDeprecatedAgentConfig ▶️ View Recording
DoctorCommand_WithSslCertDir_ShowsTrusted ▶️ View Recording
DoctorCommand_WithoutSslCertDir_ShowsPartiallyTrusted ▶️ View Recording
GlobalMigration_HandlesCommentsAndTrailingCommas ▶️ View Recording
GlobalMigration_HandlesMalformedLegacyJson ▶️ View Recording
GlobalMigration_PreservesAllValueTypes ▶️ View Recording
GlobalMigration_SkipsWhenNewConfigExists ▶️ View Recording
GlobalSettings_MigratedFromLegacyFormat ▶️ View Recording
InvalidAppHostPathWithComments_IsHealedOnRun ▶️ View Recording
LegacySettingsMigration_AdjustsRelativeAppHostPath ▶️ View Recording
LogsCommandShowsResourceLogs ▶️ View Recording
PsCommandListsRunningAppHost ▶️ View Recording
PsFormatJsonOutputsOnlyJsonToStdout ▶️ View Recording
PublishWithDockerComposeServiceCallbackSucceeds ▶️ View Recording
RestoreGeneratesSdkFiles ▶️ View Recording
RestoreSupportsConfigOnlyHelperPackageAndCrossPackageTypes ▶️ View Recording
RunFromParentDirectory_UsesExistingConfigNearAppHost ▶️ View Recording
RunWithMissingAwaitShowsHelpfulError ▶️ View Recording
SecretCrudOnDotNetAppHost ▶️ View Recording
SecretCrudOnTypeScriptAppHost ▶️ View Recording
StagingChannel_ConfigureAndVerifySettings_ThenSwitchChannels ▶️ View Recording
StopAllAppHostsFromAppHostDirectory ▶️ View Recording
StopAllAppHostsFromUnrelatedDirectory ▶️ View Recording
StopNonInteractiveMultipleAppHostsShowsError ▶️ View Recording
StopNonInteractiveSingleAppHost ▶️ View Recording
StopWithNoRunningAppHostExitsSuccessfully ▶️ View Recording

📹 Recordings uploaded automatically from CI run #24152394246

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@joperezr

Jose Perez Rodriguez (joperezr) commented Apr 10, 2026

Copy link
Copy Markdown
Member Author

Merging to unblock other workflows. Will address feedback in a follow up.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@joperezr
Jose Perez Rodriguez (joperezr) merged commit 5a2acad into main Apr 10, 2026
518 of 527 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@joperezr Jose Perez Rodriguez (joperezr) added this to the 13.3 milestone Apr 14, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators May 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@radical Ankit Jain (radical) Awaiting requested review from radical

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

13.3

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@joperezr
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.