proot-apps/.github/workflows/template-readme.yml
2025-01-22 17:11:34 -05:00

26 lines
663 B
YAML

name: template-readme
on:
push:
branches:
- master
permissions:
contents: write
jobs:
rupdate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cuchi/jinja2-action@v1.3.0
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 'readme-bot@users.noreply.github.com'
git add README.md
git diff --quiet HEAD || git commit -m "Bot Updating README" && git push origin master