submodule json array generator #438
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: submodule json array generator | |
on: | |
push: | |
branches: [ main ] | |
schedule: | |
- cron: '0 0 * * *' | |
workflow_dispatch: | |
jobs: | |
report-generator: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- name: checkout the repo | |
uses: actions/checkout@v2 | |
#with: | |
#submodules: true | |
- name: run report generator | |
run: | | |
python3 docs/directory-gen.py | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
- name: save changes | |
run: | | |
git config user.name github-actions | |
git config user.email 41898282+github-actions[bot]@users.noreply.github.com | |
git commit --all --message "πππππππ" || echo "no changes to commit" | |
git push |