ci: Workflow Bot -- Update ALL Dependencies (main) (#6564) #2152
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 Readme files | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
build-docs: | |
if: github.repository_owner == 'streetsidesoftware' | |
runs-on: ubuntu-latest | |
env: | |
NEW_BRANCH: 'update-readme' | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup and Build | |
uses: ./.github/actions/install-build | |
- name: Update Contributors | |
run: | | |
pnpm update-contributors ${{ secrets.GITHUB_TOKEN }} | |
- name: Build Readme | |
run: | | |
pnpm run build:readme | |
- name: PR | |
uses: ./.github/actions/pr | |
with: | |
commit-message: 'ci: Workflow Bot -- Build Readme' | |
branch: ${{ env.NEW_BRANCH }} | |
app_id: ${{ secrets.AUTOMATION_APP_ID }} | |
app_private_key: ${{ secrets.AUTOMATION_PRIVATE_KEY }} |