Skip to content

Enable Copilot Knowledge Base - #7

Open
samueltauil wants to merge 1 commit into
demo-baselinefrom
knowledge-base/setup
Open

samueltauil wants to merge 1 commit into
demo-baselinefrom
knowledge-base/setup

Conversation

@samueltauil

Copy link
Copy Markdown
Contributor

Knowledge Base setup

Created from repository settings by @samueltauil.

Adds Knowledge Base configuration and daily updates for ByteBrigadeAI/gamehub.

Adds Purpose
.github/knowledge-base.json Sources, scope, and schedule
.github/workflows/knowledge-base.yml Daily knowledge updates
.github/workflows/knowledge-base-issue-artifact.yml Delegates new-issue artifact attachment to the centrally maintained reusable workflow
docs/index.md Knowledge routing index
AGENTS.md Discovery for compatible agents
.github/copilot-instructions.md Discovery for Copilot

Authentication

Knowledge Base updates use the built-in GitHub Actions token by default. Workflow permissions allow it to update the rolling pull request and diagnostic issues. No secret setup is required.

Optional secrets

Secret Purpose Setup
GH_AW_GITHUB_TOKEN Reads this repository and repositories listed in working_repos For private or internal repositories: create a fine-grained PAT; grant Contents: Read, Issues: Read, and Pull requests: Read; save it as GH_AW_GITHUB_TOKEN.
KB_ISSUE_ARTIFACT_WRITE_PAT Attaches Knowledge Base context to new issues. Create a fine-grained PAT for this repository; grant Contents: Read and Issues: Read and write; save it as KB_ISSUE_ARTIFACT_WRITE_PAT.
GH_TOKEN Optional token for diagnosing reusable workflow authentication issues. If required: create a fine-grained PAT for this repository; grant Contents: Read and write, Issues: Read and write, and Pull requests: Read and write; save it as GH_TOKEN.

Create Knowledge Documents with an agent

Have ready:

  • The repo(s) your team ships code to
  • A link to your project board or tracking issue if applicable

In an agent session, copy the prompt below and paste in this pull request URL:

For this pull request [PR_URL_HERE] use the gh api to follow the instructions from https://api.github.com/repos/github/agentic-knowledge-base/contents/knowledge-base-setup-guide.md

The agent will guide you through a few questions and build the docs. No install or extra prompting needed!

When you're finished:

  • This experience is still being iterated on. With your permission, the agent will synthesize notes at the end of your session and record any optional feedback you choose to give.
  • To learn how Knowledge Base keeps itself up to date — and more — see the About Knowledge Base documentation.

Adds docs manifest, routing index, and sync workflow.
@samueltauil samueltauil added the knowledge-base Updates generated by GitHub Knowledge Base label Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

knowledge-base Updates generated by GitHub Knowledge Base

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant