-
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (30 loc) · 835 Bytes
/
Copy pathlabel-syncer.yml
File metadata and controls
32 lines (30 loc) · 835 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
name: Label Syncer
on:
workflow_dispatch:
push:
branches:
- main
paths:
- .github/label-syncer/label-syncer.yml
jobs:
build:
name: Sync repository labels from file
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
pull-requests: write
steps:
- name: Checkout Code
id: checkout-code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Sync repository labels from file
id: labeling
uses: micnncim/action-label-syncer@3abd5ab72fda571e69fffd97bd4e0033dd5f495c # v1.3.0 commit SHA
if: success()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
manifest: .github/label-syncer/label-syncer.yml