feat: add sync-label workflow

This commit is contained in:
arashagp
2025-01-02 10:29:04 +03:30
parent f79bfee2fd
commit 0fbfa104ce

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

@@ -0,0 +1,29 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Sync labels
on:
workflow_dispatch:
push:
branches:
- next
paths:
- .github/labels.yml
jobs:
labels:
name: Sync labels
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v4
- name: 🚀 Run Label Syncer
uses: micnncim/action-label-syncer@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}