-
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (31 loc) · 763 Bytes
/
github.repo.yaml
File metadata and controls
39 lines (31 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: GitHub - Repository
on:
push:
branches:
- main
paths:
- .github/labels*.yaml
- .github/workflows/github.repo.yaml
pull_request:
paths:
- .github/labels*.yaml
- .github/workflows/github.repo.yaml
workflow_dispatch: {}
jobs:
sync-labels:
name: Sync Labels
strategy:
matrix:
config_file:
- .github/labels.yaml
- .github/labels.common.yaml
uses: tedilabs/github-actions/.github/workflows/github.repo.sync-labels.yaml@main
permissions:
contents: read
issues: write
with:
config_file: ${{ matrix.config_file }}
skip_delete: true
dry_run: ${{ github.event_name == 'pull_request' }}
secrets:
token: ${{ secrets.GITHUB_TOKEN }}