Skip to content

updating language related to CARML/TFVM migration (#922) #16

updating language related to CARML/TFVM migration (#922)

updating language related to CARML/TFVM migration (#922) #16

# Workflow for syncing CSV labels to GitHub Labels
name: Sync AVM Labels from CSV to GitHub Labels
on:
# Runs on pushes targeting the default branch
push:
branches:
- main
paths:
- 'docs/static/governance/avm-standard-github-labels.csv'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch: {}
# Allow one concurrent deployment
concurrency:
group: "labels"
cancel-in-progress: true
permissions:
contents: write
issues: write
pull-requests: write
# Default to bash
defaults:
run:
shell: pwsh
jobs:
sync-labels:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Wait for Hugo Website to Build and Deploy
if: github.event_name != 'workflow_dispatch'
run: |
Start-Sleep -Seconds 120
- name: Sync Labels
run: |
docs/static/scripts/Set-AvmGitHubLabels.ps1 -RepositoryName "Azure/Azure-Verified-Modules" -CreateCsvLabelExports $false -NoUserPrompts $true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}