File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : 🏷️ Sync Labels
2+
3+ on :
4+ push :
5+ branches :
6+ - ' main'
7+ paths :
8+ - ' .github/workflows/labels.yml'
9+ pull_request :
10+ paths :
11+ - ' .github/workflows/labels.yml'
12+ workflow_dispatch : # Allow manual triggering
13+
14+ permissions :
15+ contents : read
16+ issues : write
17+
18+ jobs :
19+ sync-labels :
20+ name : 🏷️ Sync repository labels
21+ runs-on : ubuntu-latest
22+ steps :
23+ - name : 📦 Download labels.yml
24+ run : |
25+ curl -fsSL "https://raw.githubusercontent.com/groundsgg/.github/refs/heads/main/.github/labels.yml" -o labels.yml
26+
27+ - name : 🏷️ Sync labels
28+ uses : crazy-max/ghaction-github-labeler@v5
29+ with :
30+ github-token : ${{ secrets.GITHUB_TOKEN }}
31+ yaml-file : labels.yml
32+ dry-run : ${{ github.event_name == 'pull_request' }}
33+ skip-delete : false
34+ exclude : |
35+ help*
36+ *issue
37+ autorelease*
You can’t perform that action at this time.
0 commit comments