Create Atlas File List Update Pull Request #3
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: | |
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/ | |
./wagotools-atlas.sh | |
shell: bash | |
- name: Cleanup Luarocks | |
run: | | |
rm -rf .luarocks | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
branch: update-atlasfiles | |
commit-message: Update Atlas File List from wago.tools | |
title: Update Atlas File List from wago.tools | |
delete-branch: true |