-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (31 loc) · 930 Bytes
/
update.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# https://docs.github.com/en/actions
name: "Update"
on: # yamllint disable-line rule:truthy
push:
branches:
- "main"
schedule:
- cron: "0 */1 * * *"
jobs:
readme:
name: "Readme"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout"
uses: "actions/checkout@v4.1.2"
with:
token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}"
- name: "Regenerate README.md"
uses: "muesli/readme-scribe@v0.1"
env:
GITHUB_TOKEN: "${{ secrets.LOCALHEINZ_TOKEN }}"
with:
template: "template/README.md.tpl"
writeTo: "README.md"
- name: "Commit README.md"
uses: "stefanzweifel/git-auto-commit-action@v5.0.0"
with:
commit_author: "ergebnis-bot <bot@ergebn.is>"
commit_message: "Enhancement: Update README.md"
commit_user_email: "bot@ergebn.is"
commit_user_name: "ergebnis-bot"