Browse Source
- 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.pull/4918/head
2 changed files with 21 additions and 29 deletions
@ -1,28 +0,0 @@ |
|||||
name: Sync Game Labels |
|
||||
on: |
|
||||
push: |
|
||||
branches: |
|
||||
- master |
|
||||
- develop |
|
||||
paths: |
|
||||
- "lgsm/data/serverlist.csv" |
|
||||
workflow_dispatch: {} |
|
||||
|
|
||||
permissions: |
|
||||
issues: write |
|
||||
contents: read |
|
||||
|
|
||||
jobs: |
|
||||
sync-game-labels: |
|
||||
if: github.repository_owner == 'GameServerManagers' |
|
||||
runs-on: ubuntu-latest |
|
||||
steps: |
|
||||
- name: Checkout |
|
||||
uses: actions/checkout@v5 |
|
||||
|
|
||||
- name: Sync game labels from serverlist |
|
||||
env: |
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
|
||||
run: | |
|
||||
chmod +x .github/scripts/sync-game-labels.sh |
|
||||
.github/scripts/sync-game-labels.sh |
|
||||
Loading…
Reference in new issue