mirror of
https://github.com/armbian/imager.git
synced 2026-01-06 12:31:28 -08:00
Add workflow to sync GitHub labels from labels.yml
This commit is contained in:
26
.github/workflows/labels.yml
vendored
Normal file
26
.github/workflows/labels.yml
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
name: Sync Labels
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- '.github/labels.yml'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
sync:
|
||||
name: Sync labels
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Sync labels
|
||||
uses: crazy-max/ghaction-github-labeler@v5
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
yaml-file: .github/labels.yml
|
||||
skip-delete: false
|
||||
dry-run: false
|
||||
Reference in New Issue
Block a user