Create Atlas File List Update Pull Request #30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |