fix variable #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Trigger Update Galleries Pipeline | |
on: | |
push: | |
branches: | |
- release/extensions | |
- extensions/rc1 | |
- kisantia/galleriesPipelineTest | |
jobs: | |
trigger-update-galleries: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Print triggering branch name' | |
run: echo "GITHUB_REF_NAME IS $GITHUB_REF_NAME" | |
- uses: Azure/[email protected] | |
with: | |
azure-devops-project-url: 'https://dev.azure.com/msdata/SQLToolsAndLibraries' | |
azure-pipeline-name: 'SqlOpsStudioExtensions-Official' # name of the Azure pipeline to be triggered | |
azure-devops-token: '${{ secrets.ADO_UPDATE_GALLERIES_TOKEN }}' | |
azure-pipeline-variables: '{"triggeringBranch": "$GITHUB_REF_NAME"}' # pass branch name to pipeline |