Skip to content

fix: set GH_TOKEN early and re-enable publish trigger for eng/ changes#10127

Merged
JoshLove-msft merged 1 commit into
microsoft:mainfrom
JoshLove-msft:joshlove/fix-dashboard-gh-token
Mar 25, 2026
Merged

fix: set GH_TOKEN early and re-enable publish trigger for eng/ changes#10127
JoshLove-msft merged 1 commit into
microsoft:mainfrom
JoshLove-msft:joshlove/fix-dashboard-gh-token

Conversation

@JoshLove-msft
Copy link
Copy Markdown
Contributor

Move GH_TOKEN assignment to the start of the script so that the Emitter_Version_Dashboard.ps1 can use gh CLI to resolve commit hashes via the GitHub API in shallow clones.

Also revert the eng/ exclusion from publish.yml triggers so that changes to eng/ scripts (like this one) trigger the publish pipeline.

Move GH_TOKEN assignment to the start of the script so that the
Emitter_Version_Dashboard.ps1 can use gh CLI to resolve commit
hashes via the GitHub API in shallow clones.

Also revert the eng/ exclusion from publish.yml triggers so that
changes to eng/ scripts (like this one) trigger the publish pipeline.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@microsoft-github-policy-service microsoft-github-policy-service Bot added the emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp label Mar 24, 2026
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Mar 24, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@typespec/http-client-csharp@10127

commit: c742ab1

@github-actions
Copy link
Copy Markdown
Contributor

No changes needing a change description found.

@JoshLove-msft JoshLove-msft enabled auto-merge March 24, 2026 23:21
@JoshLove-msft JoshLove-msft added this pull request to the merge queue Mar 24, 2026
Merged via the queue into microsoft:main with commit 302c619 Mar 25, 2026
25 checks passed
@JoshLove-msft JoshLove-msft deleted the joshlove/fix-dashboard-gh-token branch March 25, 2026 00:29
msyyc pushed a commit that referenced this pull request Apr 1, 2026
#10127)

Move GH_TOKEN assignment to the start of the script so that the
Emitter_Version_Dashboard.ps1 can use gh CLI to resolve commit hashes
via the GitHub API in shallow clones.

Also revert the eng/ exclusion from publish.yml triggers so that changes
to eng/ scripts (like this one) trigger the publish pipeline.

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

Labels

emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants