Delete CODE_OF_CONDUCT - Copy.md #45
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: PR Triggered Tests | |
on: | |
pull_request_target: | |
types: [opened, synchronize, reopened] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
trigger-azure-pipeline: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check if authorized to run tests | |
id: check | |
run: | | |
# Add any conditions if necessary. For now, always allow. | |
echo "ok=true" >> $GITHUB_OUTPUT | |
- name: Trigger Azure DevOps Pipeline | |
if: steps.check.outputs.ok == 'true' | |
uses: Azure/pipelines@v1 | |
with: | |
azure-devops-project-url: 'https://dev.azure.com/sergiovelderrain/sergiovelderrain' | |
azure-pipeline-name: 'ni.labview-icon-editor-test' | |
azure-devops-token: ${{ secrets.AZURE_DEVOPS_PAT }} |