Skip to content
Merged
Show file tree
Hide file tree
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
40 changes: 40 additions & 0 deletions .github/workflows/update-wow-interface.yml
Original file line number Diff line number Diff line change
@@ -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 }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_Store
cvars2.dump
debug.lua
.vscode/
Expand Down
3 changes: 2 additions & 1 deletion AdvancedInterfaceOptions.toc
Original file line number Diff line number Diff line change
@@ -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@
Expand Down
Loading