-
-
Notifications
You must be signed in to change notification settings - Fork 319
39 lines (33 loc) · 1.04 KB
/
atlas-update.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Create Atlas File List Update Pull Request
on:
schedule:
- cron: "0 10 * * 1"
workflow_dispatch:
jobs:
atlasUpdate:
if: github.repository == 'WeakAuras/WeakAuras2'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: leafo/gh-actions-lua@v10
- uses: leafo/gh-actions-luarocks@v4
- name: Install Luarocks
run: |
luarocks install --server=https://luarocks.org/manifests/fouriertransformer ftcsv
shell: bash
- name: Update Atlas Files from wago.tools
run: |
cd .github/scripts/
./update-atlas-files.sh
shell: bash
- name: Cleanup Luarocks
run: |
rm -rf .luarocks
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
branch: update-atlasfiles
commit-message: Update Atlas File List from wago.tools
title: Update Atlas File List from wago.tools
body: Update Atlas File List from wago.tools
delete-branch: true