Update pnpm/action-setup to v4 #80
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: "Update Github Action docs" | |
on: | |
pull_request: | |
permissions: | |
contents: write | |
jobs: | |
update-action-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # pin@v3 | |
with: | |
ref: ${{ github.head_ref || github.ref_name }} # the branch name | |
- name: Install action-docs | |
run: npm install -g [email protected] | |
- name: Generate docs | |
shell: bash | |
run: ./update-action-docs.sh | |
- name: Push changes | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
git config --global user.email "github-actions[bot]@users.noreply.github.com" | |
git config --global user.name "github-actions[bot]" | |
git add . | |
git commit -m "Update Github Action docs" || true | |
git push || true |