Skip to content

Fix CI build failure by using workflow token for Jekyll GitHub metadata - #12

Draft
MBimrose with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-failing-github-actions-job-build
Draft

MBimrose with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-failing-github-actions-job-build

Conversation

Copilot AI commented Aug 25, 2026 •

Copy link
Copy Markdown

The build GitHub Actions job failed in Jekyll with 401 Bad credentials while fetching GitHub metadata. The workflow was wiring JEKYLL_GITHUB_TOKEN to a repository secret that was invalid in CI.

  • Root cause

    • JEKYLL_GITHUB_TOKEN in the build step depended on secrets.JEKYLL_GITHUB_TOKEN, which was not valid for the failing run.
  • Change

    • Switched the Jekyll build environment token source to the built-in workflow token (github.token) in .github/workflows/ci.yml.
  • Impact

    • Removes dependency on a manually managed token for this step.
    • Aligns metadata auth with standard GitHub Actions token provisioning.
- name: Build with Jekyll
  env:
    JEKYLL_GITHUB_TOKEN: ${{ github.token }}
  run: bundle exec jekyll build

Co-authored-by: MBimrose <12180389+MBimrose@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job build Fix CI build failure by using workflow token for Jekyll GitHub metadata Aug 25, 2026
Copilot AI requested a review from MBimrose August 25, 2026 06:41

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants