Automated update to THIRD-PARTY-NOTICES from github action's 3rd part… #535
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |