Skip to content

Commit de9bdfb

Browse files
committed
refactor: rename labeler.yml to issue-triage-automation.yml and consolidate sync-game-labels
- Rename 'labeler.yml' to 'issue-triage-automation.yml' to better reflect the workflow's expanded responsibilities (issue triage, game detection, AI analysis, Linux support verification, and label syncing) - Consolidate 'sync-game-labels.yml' into the main workflow - Add push trigger for serverlist.csv changes - Add sync-game-labels job that runs on push events when serverlist.csv is modified - Remove the separate sync-game-labels.yml workflow This simplifies workflow organization by having all issue/PR maintenance logic in a single, well-named workflow.
1 parent 3bdc0cf commit de9bdfb

2 files changed

Lines changed: 21 additions & 29 deletions

File tree

.github/workflows/labeler.yml renamed to .github/workflows/issue-triage-automation.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Unified Labeling
1+
name: Issue Triage & Automation
22
on:
33
workflow_dispatch:
44
inputs:
@@ -49,6 +49,12 @@ on:
4949
- edited
5050
- synchronize
5151
- reopened
52+
push:
53+
branches:
54+
- master
55+
- develop
56+
paths:
57+
- "lgsm/data/serverlist.csv"
5258

5359
permissions:
5460
issues: write
@@ -2282,3 +2288,17 @@ jobs:
22822288
uses: JasonEtco/is-sponsor-label-action@v2
22832289
env:
22842290
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2291+
2292+
sync-game-labels:
2293+
if: github.repository_owner == 'GameServerManagers' && github.event_name == 'push' && contains(github.event.head_commit.modified, 'lgsm/data/serverlist.csv')
2294+
runs-on: ubuntu-latest
2295+
steps:
2296+
- name: Checkout
2297+
uses: actions/checkout@v5
2298+
2299+
- name: Sync game labels from serverlist
2300+
env:
2301+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2302+
run: |
2303+
chmod +x .github/scripts/sync-game-labels.sh
2304+
.github/scripts/sync-game-labels.sh

‎.github/workflows/sync-game-labels.yml‎

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)