Skip to content

Merge pull request #67 from HeidiHe/main #63

Merge pull request #67 from HeidiHe/main

Merge pull request #67 from HeidiHe/main #63

name: generate-readmes
on:
pull_request:
push:
branches:
- main
jobs:
generate-readmes:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '16'
cache: npm
- name: Install
run: npm ci
- name: Format
run: npm run format
- name: Generate READMEs
run: npm run generate
- name: Add Changes
run: git add --force README.md CLOSED.md UP.md
- name: Commit
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Generate READMEs