mirror of
https://github.com/LukeHagar/LukeHagar.git
synced 2025-12-06 04:20:17 +00:00
Create readme-scribe.yml
This commit is contained in:
30
.github/workflows/readme-scribe.yml
vendored
Normal file
30
.github/workflows/readme-scribe.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
name: Update README
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 */1 * * *"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
markscribe:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
|
||||||
|
- uses: muesli/readme-scribe@master
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
template: "templates/README.md.tpl"
|
||||||
|
writeTo: "README.md"
|
||||||
|
|
||||||
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
commit_message: Update generated README
|
||||||
|
branch: main
|
||||||
|
commit_user_name: readme-scribe 🤖
|
||||||
|
commit_user_email: actions@github.com
|
||||||
|
commit_author: readme-scribe 🤖 <actions@github.com>
|
||||||
Reference in New Issue
Block a user