Skip to content

Develop - #7

Merged
ptr727 merged 28 commits into
mainfrom
develop
Jan 15, 2026
Merged

Develop#7
ptr727 merged 28 commits into
mainfrom
develop

Conversation

@ptr727

@ptr727 ptr727 commented Jan 15, 2026

Copy link
Copy Markdown
Owner

No description provided.

ptr727 and others added 27 commits January 13, 2026 20:44
Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Copilot AI review requested due to automatic review settings January 15, 2026 15:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR includes documentation improvements and a workflow bug fix related to branch protection settings and conditional execution.

Changes:

  • Reorganizes GitHub branch protection documentation to better reflect the hierarchical nature of settings
  • Fixes a boolean comparison bug in the date badge workflow that was preventing proper main branch detection
  • Adds documentation for dismissing stale PR approvals

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
README.md Reorganizes branch protection ruleset documentation to nest "Require branches to be up to date before merging" under status checks and adds "Dismiss stale pull request approvals" setting
.github/workflows/date-badge-task.yml Fixes boolean comparison for IS_MAIN_BRANCH environment variable to properly evaluate the condition

Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
@ptr727
ptr727 merged commit d81185b into main Jan 15, 2026
27 of 28 checks passed
ptr727 added a commit that referenced this pull request Jan 15, 2026
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* chmod +x

* wip

* Single PR



* signed?



* wip



* wip



* Update README.md



* Update .github/workflows/build-docker-task.yml



* Update ProjectTemplate.slnx



* Update .github/workflows/build-project-task.yml



* Update .github/workflows/build-library-task.yml



* Update .github/workflows/build-executable-task.yml



* Refactor build-docker-task.yml workflow configuration

* wip



* wip



* indentation



* wip



* rules



* indentation



---------

Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
ptr727 added a commit that referenced this pull request Jul 14, 2026
…d start (#295)

Closes #294.

## Problem

The headless Copilot-review loop needs the Copilot reviewer's bot node
id to drive round 1 via the `requestReviews` mutation. On a **cold-start
PR** - freshly opened, auto-review-on-open not yet landed, so **no
formal review and no issue comment on the PR yet** - the runbook's only
documented source for that id was **manual UI seeding**, which defeats a
headless/cron run. Surfaced running the loop fully headless on
`ptr727/HomeAssistant-Config` PR #7.

## Fix

The Copilot reviewer's bot node id is the reviewer bot *account's* node
id and is **stable repo-wide**. Verified empirically - identical across
every recent PR in two repos:

```
HomeAssistant-Config -> BOT_kgDOCnlnWA
ProjectTemplate      -> BOT_kgDOCnlnWA
```

So document reading the id from **any prior Copilot review anywhere in
the repo** as the preferred cold-start fallback (a
`pullRequests(last:20)` GraphQL query), positioned **before** UI
seeding. UI seeding drops to a true last resort: only a repo that has
never had a Copilot review at all, where no prior id exists to read.

Doc-only change to `.github/copilot-instructions.md`; the
`requestReviews` mutation itself is unchanged. markdownlint + cspell
clean.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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