Skip to content

Commit 1b39173

Browse files
authored
Add TOC update nightly action
1 parent 43d93d2 commit 1b39173

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/update-toc.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Update TOC Interface version(s)
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: 0 12 * * *
7+
8+
permissions: # required by the pull request action
9+
contents: write
10+
pull-requests: write
11+
12+
jobs:
13+
run:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Clone project
17+
uses: actions/checkout@v6
18+
19+
- name: Update TOC Interface version
20+
uses: p3lim/toc-interface-updater@v4
21+
with:
22+
beta: true
23+
ptr: true
24+
flavor: |
25+
vanilla
26+
tbc
27+
wrath
28+
mists
29+
retail
30+
31+
- name: Create pull request
32+
uses: peter-evans/create-pull-request@v8
33+
with:
34+
title: Update Interface version
35+
commit-message: Update Interface version
36+
branch: interface-version
37+
delete-branch: true
38+
assignees: parnic

0 commit comments

Comments
 (0)