Bot Updating Package Versions #345
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: template-readme | |
on: | |
push: | |
branches: | |
- master | |
permissions: | |
contents: write | |
jobs: | |
rupdate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cuchi/[email protected] | |
with: | |
template: ci-scripts/README.template | |
output_file: README.md | |
data_file: metadata/metadata.yml | |
data_format: yaml | |
- run: | | |
git config --global user.name 'README Bot' | |
git config --global user.email '[email protected]' | |
git add README.md | |
git diff --quiet HEAD || git commit -m "Bot Updating README" && git push origin master |