From bd7bf105f1b0d4a778589df7aea2116344a273c3 Mon Sep 17 00:00:00 2001 From: bakerboy448 <55419169+bakerboy448@users.noreply.github.com> Date: Thu, 22 Oct 2026 22:06:41 -0500 Subject: [PATCH] fix(ci): fetch READMEs in the build job instead of pushing to main The Required CI ruleset blocks the sync-readmes direct push to main (GH013, docs-build expected), failing every Deploy Site run. Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/deploy.yml | 28 +++------------------------- 1 file changed, 3 insertions(+), 25 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c3ed230..136c986 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,12 +17,12 @@ concurrency: cancel-in-progress: false jobs: - sync-readmes: + build: runs-on: ubuntu-latest - permissions: - contents: write steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 + with: + ref: main - name: Fetch READMEs from public repos env: @@ -36,28 +36,6 @@ jobs: bash scripts/fix-readme-links.sh docs/projects - - name: Check for changes - id: changes - run: | - git diff --quiet docs/projects/ && echo "changed=false" >> "$GITHUB_OUTPUT" || echo "changed=true" >> "$GITHUB_OUTPUT" - - - name: Commit updated READMEs - if: steps.changes.outputs.changed == 'true' - run: | - git config user.name "github-actions[bot]" - git config user.email "github-actions[bot]@users.noreply.github.com" - git add docs/projects/ - git commit -m "chore: sync READMEs from source repos" - git push - - build: - needs: sync-readmes - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - with: - ref: main - - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7 with: python-version: "3.15.0"