Files
ivuorinen/.github/workflows/readme-scribe.yaml
2025-12-02 07:41:23 +02:00

37 lines
934 B
YAML

---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: readme-scribe
on:
workflow_dispatch:
workflow_call:
schedule:
- cron: '0 0 */1 * *'
push:
branches:
- 'main'
permissions:
contents: write
issues: write
pull-requests: write
jobs:
readme-scribe:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
- uses: muesli/readme-scribe@5a187a2a36ef894335f17a7d01c32b0e28c6d948
with:
template: templates/README.md.tpl
writeTo: README.md
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
- uses: stefanzweifel/git-auto-commit-action@28e16e81777b558cc906c8750092100bbb34c5e3 # v7.0.0
with:
commit_message: 'Update generated README'
branch: main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}