ci: Add GH workflow for syncing labels

This commit is contained in:
Oskar Thoren 2022-07-27 17:24:07 +08:00
parent b9434052ef
commit 6bcdc3881e
No known key found for this signature in database
GPG Key ID: B2ECCFD3BC2EF77E
1 changed files with 17 additions and 0 deletions

17
.github/workflows/sync-labels.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: Sync labels
on:
push:
branches:
- master
paths:
- .github/labels.yml
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: micnncim/action-label-syncer@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
manifest: .github/labels.yml