Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions packages/http-client-csharp/eng/pipeline/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ trigger:
paths:
include:
- packages/http-client-csharp/
exclude:
- packages/http-client-csharp/eng/

pr: none

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,11 @@ try {

Push-Location $tempDir

# Set the authentication token for gh CLI early so that scripts invoked
# during the build (e.g. Emitter_Version_Dashboard.ps1) can call the
# GitHub API to resolve commit hashes in shallow clones.
$env:GH_TOKEN = $AuthToken

# Configure git user for commits in this repository
git config user.name "azure-sdk"
git config user.email "azuresdk@microsoft.com"
Expand Down Expand Up @@ -659,9 +664,6 @@ try {
# Create PR using GitHub CLI
Write-Host "Creating PR in $RepoOwner/$RepoName using gh CLI..."

# Set the authentication token for gh CLI
$env:GH_TOKEN = $AuthToken

# Create the PR using gh CLI
$ghArgs = @("pr", "create", "--repo", "$RepoOwner/$RepoName", "--title", $PRTitle, "--body", $PRBody, "--base", $BaseBranch, "--head", $PRBranch)
if ($Internal) {
Expand Down
Loading