Skip to content

Commit

Permalink
Add self test step to update_readme.yaml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
msg087 committed Dec 8, 2023
1 parent 91c8347 commit 6558c2c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/update_readme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ jobs:

steps:
- uses: actions/checkout@main
- name: Self test
id: selftest
uses: muesli/readme-scribe@master
env:
GITHUB_TOKEN: ${{ secrets.UPDATE_WAKATIME }}
with:
template: "templates/README.md.tpl"
writeTo: "test/README.md"

- uses: msg087/public@main
env:
Expand All @@ -22,6 +30,10 @@ jobs:
template: "templates/README.md.tpl"
writeTo: "README.md"

- name: Check outputs and modified files
run: |
cat test/README.md
- uses: stefanzweifel/git-auto-commit-action@v4
env:
GITHUB_TOKEN: ${{ secrets.UPDATE_WAKATIME }}
Expand Down

0 comments on commit 6558c2c

Please sign in to comment.