Skip to content

Commit

Permalink
Merge branch 'master' into feature/app-update
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-helmich authored Aug 22, 2024
2 parents 9eff95a + a8aa05b commit cd031da
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/readme_pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Update README for pull requests
on:
pull_request_target:
branches:
- master
types:
- opened
- ready_for_review
- synchronize

jobs:
update-readme:
name: Re-generate README
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.MACHINE_USER_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: 18
- run: gh pr checkout ${{ github.event.pull_request.number }}
env:
GH_TOKEN: ${{ github.token }}
- run: yarn
- run: yarn compile
- run: yarn generate:readme
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore: re-generate README"
file_pattern: README.md

0 comments on commit cd031da

Please sign in to comment.