Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: 🏷️ Sync Labels

on:
push:
branches:
- 'main'
paths:
- '.github/workflows/labels.yml'
pull_request:
paths:
- '.github/workflows/labels.yml'
workflow_dispatch: # Allow manual triggering

permissions:
contents: read
issues: write

jobs:
sync-labels:
name: 🏷️ Sync repository labels
runs-on: ubuntu-latest
steps:
- name: πŸ“¦ Download labels.yml
run: |
curl -fsSL "https://raw.githubusercontent.com/groundsgg/.github/refs/heads/main/.github/labels.yml" -o labels.yml

- name: 🏷️ Sync labels
uses: crazy-max/ghaction-github-labeler@v5
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
yaml-file: labels.yml
dry-run: ${{ github.event_name == 'pull_request' }}
skip-delete: false
exclude: |
help*
*issue
autorelease*