@ -12,8 +12,9 @@ env:
DENO_DIR: deno_cache
jobs:
test:
readme:
runs-on: ubuntu-latest
name: Re-generate README sections
steps:
- uses: actions/checkout@v3
@ -33,6 +34,8 @@ jobs:
run: ./main.ts
- name: Push changes
uses: stefanzweifel/git-auto-commit-action@v4
# skip pushing on forks
if: ${{ !github.event.pull_request.head.repo.fork }}
with:
commit_message: "chore: re-generate README sections"
branch: ${{ github.head_ref }}