Skip to content

Fix Publish Wiki workflow configuration - #46

Merged
rijesha merged 2 commits into
mainfrom
copilot/fix-publish-wiki-job
Nov 29, 2025
Merged

Fix Publish Wiki workflow configuration#46
rijesha merged 2 commits into
mainfrom
copilot/fix-publish-wiki-job

Conversation

Copilot AI commented Nov 29, 2025

Copy link
Copy Markdown
Contributor

The Publish Wiki workflow was failing with fatal: this operation must be run in a work tree because Andrew-Chen-Wang/github-wiki-action@v4 was configured with environment variables instead of action inputs.

Changes

  • Replace incorrect env: configuration with proper with: inputs
  • Set path: docs to specify wiki source directory
  • Remove unused env vars (WIKI_DIR, GH_TOKEN, GH_MAIL, GH_NAME) — token defaults to github.token
# Before
- uses: Andrew-Chen-Wang/github-wiki-action@v4
  env:
    WIKI_DIR: docs/
    GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# After
- uses: Andrew-Chen-Wang/github-wiki-action@v4
  with:
    path: docs
Original prompt

This section details on the original issue you should resolve

<issue_title>Publish wiki job is failing</issue_title>
<issue_description></issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: rijesha <7819200+rijesha@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failure in publish wiki job Fix Publish Wiki workflow configuration Nov 29, 2025
Copilot AI requested a review from rijesha November 29, 2025 18:48
@rijesha
rijesha marked this pull request as ready for review November 29, 2025 18:50
@rijesha
rijesha merged commit 9a85797 into main Nov 29, 2025
2 checks passed
rijesha added a commit that referenced this pull request Nov 29, 2025
@rijesha
rijesha deleted the copilot/fix-publish-wiki-job branch December 6, 2025 03:20
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.

Publish wiki job is failing

2 participants