Skip to content

Automated update to THIRD-PARTY-NOTICES from github action's 3rd part… #535

Automated update to THIRD-PARTY-NOTICES from github action's 3rd part…

Automated update to THIRD-PARTY-NOTICES from github action's 3rd part… #535

name: Generate markdown files
on: push
jobs:
generate:
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/[email protected]
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.BOT_REPO_SCOPED_TOKEN }}
- name: Install pnpm
uses: pnpm/[email protected]
- name: Install deps
run: pnpm i
- name: generate-docs
run: pnpm run docs
- name: Auto Generate Markdown Files
id: generate-markdown
uses: EndBug/[email protected]
with:
message: "Auto generated documentation"
add: "*.md"
push: true
pull: --rebase --autostash
default_author: github_actions
- name: Fail on push
run: |
if [[ ${{ steps.generate-markdown.outputs.pushed }} == true ]]; then exit 1; else exit 0; fi