Files
ivuorinen/.github/workflows/readme-scribe.yaml
Ismo Vuorinen 91d4b77888 chore(deps): pin GitHub Actions and add npm dev dependencies
Pin GitHub Actions to specific SHA versions across all workflows and
add @ivuorinen/commitlint-config and @ivuorinen/prettier-config
packages. Add .yamllint config with relaxed rules for GitHub Actions
workflows and fix YAML lint issues (long lines, blank lines).
2026-03-02 03:29:42 +02:00

37 lines
938 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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- 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@04702edda442b2e678b25b537cec683a1493fcb9 # v7.1.0
with:
commit_message: 'Update generated README'
branch: main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}