From 1567bdeeb1a2edd2ca2680184612efca100b4b92 Mon Sep 17 00:00:00 2001 From: Benjamin Staneck Date: Fri, 7 Aug 2026 09:59:23 +0200 Subject: [PATCH 1/2] chore: automate WoW interface updates Keep supported client interface IDs current from Warcraft Wiki and open a pull request when the scheduled updater detects changes. --- .github/workflows/update-wow-interface.yml | 40 ++++++++++++++++++++++ AdvancedInterfaceOptions.toc | 3 +- 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/update-wow-interface.yml diff --git a/.github/workflows/update-wow-interface.yml b/.github/workflows/update-wow-interface.yml new file mode 100644 index 0000000..a8bd047 --- /dev/null +++ b/.github/workflows/update-wow-interface.yml @@ -0,0 +1,40 @@ +name: Update WoW TOC Interface + +on: + workflow_dispatch: + schedule: + - cron: "0 10 * * 1" + +permissions: {} + +concurrency: + group: wow-interface-updater + cancel-in-progress: false + +jobs: + update: + name: Update interface versions + if: github.repository == 'Stanzilla/AdvancedInterfaceOptions' + runs-on: ubuntu-latest + permissions: + contents: write # Required to push the update branch. + pull-requests: write # Required to open or update the pull request. + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + + - id: toc + uses: Nnoggie/wow-interface-updater@9566e33fd0abb13201221f8f35fd93e7beef0129 # v1.1.0 + with: + toc-glob: AdvancedInterfaceOptions.toc + + - uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 + if: steps.toc.outputs.changed == 'true' + with: + branch: automation/wow-interface + delete-branch: true + add-paths: AdvancedInterfaceOptions.toc + commit-message: "chore: update WoW interface versions" + title: "chore: update WoW interface versions" + body: ${{ steps.toc.outputs.pr-body }} diff --git a/AdvancedInterfaceOptions.toc b/AdvancedInterfaceOptions.toc index a39865b..64d1559 100644 --- a/AdvancedInterfaceOptions.toc +++ b/AdvancedInterfaceOptions.toc @@ -1,4 +1,5 @@ -## Interface: 120000, 110200, 50503, 40402, 30404, 20506, 11509 +# WOW_INTERFACE_TARGETS: mainline-beta, mainline-test, mainline, mists-test, mists, cata, wrath, tbc-test, tbc, vanilla +## Interface: 120100, 120007, 120001, 50504, 40402, 30405, 20506, 11509 ## Title: Advanced Interface Options ## Author: Stanzilla, Semlar ## Version: @project-version@ From d1d57cbceb9e27d63ca0dd064b41c6973983f510 Mon Sep 17 00:00:00 2001 From: Benjamin Staneck Date: Fri, 7 Aug 2026 09:59:49 +0200 Subject: [PATCH 2/2] chore: ignore macOS metadata --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 91f95b3..def095a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +.DS_Store cvars2.dump debug.lua .vscode/