microsoft/typespec

Public

mirrored from https://github.com/microsoft/typespecAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
copilot/fix-6465

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.github/workflows/sync-labels.yml

33lines · modecode

1name: Sync labels
2
3on:
4 schedule:
5 - cron: "0 0 * * *"
6 push:
7 branches:
8 - "main"
9 paths:
10 - "package.json"
11 - "eng/common/config/"
12 - "eng/common/labels/"
13 - ".github/workflows/sync-labels.yml"
14
15 workflow_dispatch: {}
16
17permissions:
18 issues: write
19
20jobs:
21 sync:
22 runs-on: ubuntu-latest
23 steps:
24 - uses: actions/checkout@v4
25 - uses: ./.github/actions/setup
26
27 - run: pnpm install
28 name: Install dependencies
29
30 - run: pnpm sync-labels --github
31 name: Sync labels
32 env:
33 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34