Files
ivuorinen/.github/workflows/readme-scribe.yaml
Ismo Vuorinen 630108dc90 feat(workflow): update workflows, fix superlinter config (#8)
* chore(workflow): tweaks & moved .jscpd to root
* chore(config): add .checkov.yaml
* feat(lint): add @ivuorinen/base-configs, fix lints
* chore(lint): fix lint errors
* chore(lint): increase md max_line_length to 1000
* chore(workflows): run reviewdog on pull_request
* feat(config): add actrc for nektosact.com
* feat(lint): textlint configuration
* chore(lint): disable json and natural language
2024-09-16 11:58:42 +03:00

36 lines
831 B
YAML

---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: readme-scribe
on:
workflow_dispatch:
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@v4
- 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@v5.0.1
with:
commit_message: 'Update generated README'
branch: main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}