Text for Logic App, Trigger Type , Application Insights, Health Status, Runtime Version should be in Sentence Case in properties blade and run history blade #16324
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 with Azure DevOps | |
on: | |
schedule: | |
- cron: '0 */2 * * *' | |
issues: | |
types: [opened, closed, deleted, reopened, edited, labeled, unlabeled, assigned, unassigned] | |
issue_comment: | |
types: [created] | |
workflow_dispatch: | |
inputs: | |
manual_trigger: | |
description: 'Manual Trigger' | |
required: false | |
default: 'true' | |
type: choice | |
options: | |
- 'true' | |
- 'false' | |
concurrency: | |
group: issue-${{ github.event.issue.number }} | |
cancel-in-progress: false | |
jobs: | |
alert: | |
runs-on: ubuntu-latest | |
environment: E2ETesting | |
permissions: | |
issues: write | |
pull-requests: write | |
id-token: write | |
name: Sync workflow | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Azure login | |
uses: azure/login@v2 | |
with: | |
client-id: ${{ secrets.AZURE_TESTING_CLIENT_ID }} | |
tenant-id: ${{ secrets.AZURE_TESTING_TENANT_ID }} | |
subscription-id: ${{ secrets.AZURE_TESTING_SUBSCRIPTION_ID }} | |
- name: 'Generate NPMRC' | |
shell: bash | |
run: | | |
export ADO_MANAGEMENT_TOKEN=$(az account get-access-token --resource 499b84ac-1321-427f-aa17-267ca6975798 | jq -r .accessToken) | |
echo "ADO_MANAGEMENT_TOKEN=$ADO_MANAGEMENT_TOKEN" >> $GITHUB_ENV | |
- uses: hartra344/GitSync@main | |
env: | |
ado_token: '${{ env.ADO_MANAGEMENT_TOKEN }}' | |
github_token: '${{ secrets.GITHUB_TOKEN }}' | |
config_file: './.github/sync_config.json' |