Skip to content

Workflow file for this run

name: Sync labels
on:
schedule:
- cron: "0 0 * * *"
push:
branches:
- "main"
- "label-sync"
paths:
- "package.json"
- "eng/common/labels.yml"
- "eng/common/scripts/sync-labels.ts"
- ".github/workflows/sync-labels.yml"
workflow_dispatch: {}
permissions:
issues: write
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: pnpm install
name: Install dependencies
- run: pnpm sync-labels --update-github-labels --dry-run
name: Sync labels
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}