Skip to content

Commit

Permalink
pipelines: Add GitHub service connection parameter for npm release te…
Browse files Browse the repository at this point in the history
…mplate
  • Loading branch information
alexweininger committed Jan 13, 2025
1 parent 003d888 commit d39260a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion azure-pipelines/1es-release-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ parameters:
displayName: Approver Alias
type: string

- name: GitHubServiceConnection
displayName: GitHub Service Connection
type: string
default: GitHub-AzureTools

# `resources` specifies the location of templates to pick up, use it to get 1ES templates
resources:
repositories:
Expand Down Expand Up @@ -135,7 +140,7 @@ extends:
displayName: "\U0001F449 GitHub release (create)"
condition: and(succeeded(), ${{ eq(parameters.dryRun, false) }})
inputs:
gitHubConnection: "GitHub-AzureTools"
gitHubConnection: ${{ parameters.GitHubServiceConnection }}
tagSource: userSpecifiedTag
tag: "${{ parameters.PackageToPublish }}-v$(Version)"
title: "${{ parameters.PackageToPublish }} v$(Version)"
Expand Down

0 comments on commit d39260a

Please sign in to comment.