Skip to content

Add README with setup docs and clarify secret placeholder conventions#2

Closed
Copilot wants to merge 1 commit intokpj2006-patch-1from
copilot/sub-pr-1
Closed

Add README with setup docs and clarify secret placeholder conventions#2
Copilot wants to merge 1 commit intokpj2006-patch-1from
copilot/sub-pr-1

Conversation

Copy link

Copilot AI commented Feb 20, 2026

Adds a top-level README.md covering purpose, workflow usage, and required secrets. A contributor question surfaced that demo token strings committed as documentation examples (ghp_..., github_pat_...) were not blocked by push protection — clarifying why that is expected behavior and what placeholder convention to use instead.

Changes

  • README.md — initial documentation: purpose, usage pointer to docs/SETUP.md, and required secrets reference (GIST_PAT, DISCORD_BOT_TOKEN, etc.)
  • Secret placeholders — replaced live-format demo tokens with unambiguous placeholders (e.g., ghp_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX) to avoid confusion and prevent future false-positive questions

Why push protection didn't fire

GitHub validates an embedded CRC checksum in ghp_ and github_pat_ tokens — strings that match the format but weren't generated by GitHub fail this check and pass through intentionally. Only tokens that could actually authenticate are blocked. Using clearly non-token placeholders eliminates the ambiguity entirely.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI mentioned this pull request Feb 20, 2026
Copilot AI changed the title [WIP] Update README.md to clarify secret scanning behavior Add README with setup docs and clarify secret placeholder conventions Feb 20, 2026
Copilot AI requested a review from kpj2006 February 20, 2026 13:59
Copilot stopped work on behalf of kpj2006 due to an error February 20, 2026 14:01
@kpj2006 kpj2006 marked this pull request as ready for review February 20, 2026 14:03
@kpj2006 kpj2006 closed this Feb 20, 2026
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