microsoft/typespec
Publicmirrored from https://github.com/microsoft/typespecAvailable
.github/workflows/verify-labels.yml
26lines · modecode
| 1 | name: Verify labels |
| 2 | on: |
| 3 | pull_request: |
| 4 | branches: |
| 5 | - "main" |
| 6 | paths: |
| 7 | - "package.json" |
| 8 | - "eng/common/config/" |
| 9 | - "eng/common/labels/" |
| 10 | - ".github/workflows/sync-labels.yml" |
| 11 | - "CONTRIBUTING.md" |
| 12 | |
| 13 | jobs: |
| 14 | verify: |
| 15 | runs-on: ubuntu-latest |
| 16 | steps: |
| 17 | - uses: actions/checkout@v4 |
| 18 | - uses: ./.github/actions/setup |
| 19 | |
| 20 | - run: pnpm install |
| 21 | name: Install dependencies |
| 22 | |
| 23 | - run: pnpm sync-labels --github --check |
| 24 | name: Verify labels |
| 25 | env: |
| 26 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 27 | |