This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
[FEAT] Add QAOA notebook #189
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: Sync GitHub with ADO | |
on: | |
issues: | |
types: [closed, edited, deleted, reopened, assigned, unassigned, labeled, unlabeled] | |
issue_comment: | |
jobs: | |
sync-issues: | |
name: Run gh-sync from GitHub action | |
if: ${{ github.event.label.name == 'tracking' || contains(github.event.issue.labels.*.name, 'tracking') }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Login to Azure | |
uses: Azure/login@v1 | |
with: | |
creds: ${{ secrets.AZURE_CREDENTIALS }} | |
- id: AzureKeyVault | |
uses: Azure/get-keyvault-secrets@v1 | |
with: | |
keyvault: 'kv-qdk-build' | |
secrets: 'ghSyncBuildPAT' | |
- name: 'Trigger gh-sync' | |
uses: microsoft/gh-sync@main | |
with: | |
ado-organization-url: ${{ secrets.ADO_URL }} | |
ado-project: ${{ secrets.ADO_PROJECT }} | |
ado-area-path: ${{ secrets.ADO_AREA_PATH }} | |
github-repo: 'microsoft/Quantum' | |
issue-number: ${{ github.event.issue.number }} | |
ado-token: ${{ steps.AzureKeyVault.outputs.ghSyncBuildPAT }} | |
github-token: ${{ secrets.GITHUB_TOKEN }} |