diff --git a/.github/workflows/generate-readmes.yml b/.github/workflows/generate-readmes.yml new file mode 100644 index 000000000..55998e551 --- /dev/null +++ b/.github/workflows/generate-readmes.yml @@ -0,0 +1,25 @@ +name: Generate READMEs + +on: + push: + branches: [master] + +jobs: + generate: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: 18 + cache: "yarn" + + - run: yarn install --frozen-lockfile + - run: yarn generate-readmes + + - uses: EndBug/add-and-commit@v9 + with: + default_author: github_actions + message: "Update READMEs"