Skip to content

Drop IGNORE_GITHUB_REF From the Hosted Get-Version Task - #783

Merged
ptr727 merged 2 commits into
developfrom
feature/issue-769-nbgv-ref
Aug 17, 2026
Merged

Drop IGNORE_GITHUB_REF From the Hosted Get-Version Task#783
ptr727 merged 2 commits into
developfrom
feature/issue-769-nbgv-ref

Conversation

@ptr727

@ptr727 ptr727 commented Aug 17, 2026

Copy link
Copy Markdown
Owner

get-version-task.yml follows WORKFLOW.md D3.1 like the inline get-version job in build-release-task.yml already does: one branch per run, GITHUB_REF names it, NBGV classifies it directly, no IGNORE_GITHUB_REF. The override was carried over from the retired branch-matrix snippet, and its comments described that model. Every current caller passes the default ref, where the two spellings agree, so no behavior changes for them.

Refs #769, which the promotion to main closes.

WORKFLOW.md D3.1 states the current model: each run builds and versions
the one branch it was triggered on, GITHUB_REF names it, NBGV classifies
it directly, and no IGNORE_GITHUB_REF override is required. The hosted
get-version-task.yml carried the override from the retired branch-matrix
snippet while the inline get-version in build-release-task.yml followed
D3.1, and #768's review raised the difference. The task now follows the
same rule as its sibling, and its comments say why.
Copilot AI lite review requested due to automatic review settings August 17, 2026 01:42

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

Aligns the hosted get-version-task.yml with WORKFLOW.md D3.1 by removing the legacy IGNORE_GITHUB_REF override (carried over from the retired branch-matrix model) and updating the surrounding documentation to reflect the current “one branch per run” version-classification rule.

Changes:

  • Removed IGNORE_GITHUB_REF: "true" from the NBGV step so NBGV classifies directly from GITHUB_REF.
  • Updated the workflow header comments to describe the D3.1 model and why the override is no longer used.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/get-version-task.yml Outdated
Copilot AI review requested due to automatic review settings August 17, 2026 01:46

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

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

@ptr727
ptr727 merged commit a05b636 into develop Aug 17, 2026
8 checks passed
@ptr727
ptr727 deleted the feature/issue-769-nbgv-ref branch August 17, 2026 02:52
ptr727 added a commit that referenced this pull request Aug 17, 2026
… Fix (#786)

Promote `develop` to `main`, carrying:

- #783 Drop IGNORE_GITHUB_REF From the Hosted Get-Version Task (the
hosted task follows WORKFLOW.md D3.1 like the inline get-version job
already does)
- #778 Name the Executable Asset for Its Project and Record the
PhotoCleaner Pilot (the executable default names its archive for the
project file, the publish-release snippet and doc stub carry explicit
permissions, PhotoCleaner ticked as the stage 2 and 4 pilot)
- #775 Record 2.0.352 in the Reusable-Workflow Rollout and Add Its
Catalog Snippets
- #773 Expand references/ in large skill files for progressive
disclosure
- #776 Make the linux host-setup scripts refuse more than one action
- #782 Add PowerShell as an Optional Tool From the Microsoft Feed

The release that follows is the pin PhotoCleaner's Dependabot bumps to,
and PhotoCleaner's next release through it is the proof that the
executable asset is named `PhotoCleaner.7z` again.

Closes #769.
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