Skip to content

docs(contributing): point the label source of truth at lib/labels.yml#802

Merged
ss-o merged 1 commit into
nextfrom
fix/461-labels-yml-link
Jul 21, 2026
Merged

docs(contributing): point the label source of truth at lib/labels.yml#802
ss-o merged 1 commit into
nextfrom
fix/461-labels-yml-link

Conversation

@ss-o

@ss-o ss-o commented Jul 21, 2026

Copy link
Copy Markdown
Member

Supports z-shell/.github#461.

What

community/00_contributing/05_project_management.mdx linked the canonical label set to z-shell/.github/.github/lib/labels.yml. That file is a stale duplicate being removed in z-shell/.github#471.

The real source of truth — and the file scripts/labels-sync.rb actually reads — is lib/labels.yml at that repository's root. It carries 32 labels plus the legacy_migrations and sync_policy blocks; the copy being removed was a bare YAML array of 29 labels with neither.

Ordering

Safe to merge in either order. The new target already resolves (HTTP 200), so the link is correct before and after the duplicate is deleted. This PR is what stops the wiki from developing a dead link when it is.

This link was found by a consumer audit run before anything was removed — it was the only reference to that file outside z-shell/.github.

The page linked z-shell/.github/.github/lib/labels.yml, a stale
duplicate that is being removed in z-shell/.github#471. The canonical
file, and the one scripts/labels-sync.rb actually reads, is
lib/labels.yml at that repository's root.

The new target already resolves, so the link is correct both before and
after the duplicate is deleted.
Copilot AI review requested due to automatic review settings July 21, 2026 23:23
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying zsh with  Cloudflare Pages  Cloudflare Pages

Latest commit: 80a3d3e
Status: ✅  Deploy successful!
Preview URL: https://9968c8e2.zsh.pages.dev
Branch Preview URL: https://fix-461-labels-yml-link.zsh.pages.dev

View logs

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

Updates the contributing/project-management documentation to point the “canonical label set” link at the actual source-of-truth file in z-shell/.github, avoiding a future dead link when the stale duplicate is removed.

Changes:

  • Replace the outdated link to z-shell/.github/.github/lib/labels.yml with the correct z-shell/.github/lib/labels.yml target.

@ss-o
ss-o merged commit 12d5006 into next Jul 21, 2026
7 checks passed
@ss-o
ss-o deleted the fix/461-labels-yml-link branch July 21, 2026 23:24
ss-o added a commit to z-shell/.github that referenced this pull request Jul 21, 2026
Closes #461.

Two canonical label files existed and had diverged; every document
pointed at .github/lib/labels.yml while labels-sync.rb reads
lib/labels.yml, so edits made by following the runbook were ignored
without error.

They were not equal authorities: root holds 32 labels plus the
legacy_migrations and sync_policy blocks, while the .github copy was a
bare YAML array of 29 labels with neither, and labels-sync.rb rejects
that schema outright.

Removes the stale copy and repoints all seven references. A consumer
audit across all 86 active repositories found no automation reading
either file; the only external reference, a link in z-shell/wiki, was
repointed first in z-shell/wiki#802.
ss-o added a commit that referenced this pull request Jul 22, 2026
main links to z-shell/.github/.github/lib/labels.yml, which became a 404
when that duplicate was removed in z-shell/.github#471. The corrected
link already exists on next via #802, but main requires branches to be
up to date and its required Trunk Check fails on this 404, so the
promotion that would carry the fix is blocked by the fix's absence.

Applies the same one-line correction directly to main to break that
deadlock. Identical to the change already on next, so the branches
converge cleanly.

Co-authored-by: Sall <ss-o@users.noreply.github.com>
ss-o added a commit that referenced this pull request Jul 22, 2026
Brings in #804, the direct-to-main fix for the dead labels.yml link.
next already carried the identical correction via #802, so the two
converge with no conflict.

main requires branches to be up to date before merging, so this is the
prerequisite for the promotion in #803.
ss-o added a commit that referenced this pull request Jul 22, 2026
* docs(zsh-lint): add generated-reference markers (#755)

docs(zsh-lint): add generated-reference markers and seed content

Re-add the {/* zsh-lint:generated:start/end */} markers to the Zsh Lint
ecosystem page so the wiki-docs-sync pipeline from z-shell/zsh-lint has a
region to inject into. Seed the region with the current generated Go
reference so the first automated sync is a no-op rather than a failure.

The marked region is machine-managed — do not hand-edit; it is regenerated
from the repo's Go doc comments.

Co-authored-by: Salvydas Lukosius <ss-o@users.noreply.github.com>

* docs(zsh-lint): sync generated reference (#756)

docs(zsh-lint): sync generated reference from zsh-lint

* ci(trunk): fix duplicate Trunk Check context blocking PRs (#759)

ci(trunk): rename workflow/job to Trunk Code Quality to fix duplicate check context

The workflow and job were both named 'Trunk Check', colliding with the check
that trunk-io/trunk-action posts (also 'Trunk Check'). Two identically-named
check-runs confuse strict branch protection (required context 'Trunk Check'),
leaving PRs stuck in BLOCKED even when all checks pass. Renaming to the
org-conventional 'Trunk Code Quality' (matching other repos) leaves the
action's 'Trunk Check' as the sole required context. Fixes #757.

Co-authored-by: Salvydas Lukosius <ss-o@users.noreply.github.com>

* docs(packages): drop removed Zsh 5.1.1/5.2.4 from version list

The zsh package no longer ships 5.1.1 or 5.2.4 as selectable profiles
(z-shell/zsh#14). Remove the two stale 'zi pack' examples so the usage page
matches the available manifest profiles.

* docs(zsh-lint): move tool documentation into community

* docs(zsh-lint): normalize generated reference indentation

* ci(workflows): enforce concurrency and permissions rules

* ci(workflows): enforce top-level policy blocks

* chore(repo): reconcile main content into next

* docs(community): align project metadata with Linear

* docs(contributing): point the label source of truth at lib/labels.yml (#802)

The page linked z-shell/.github/.github/lib/labels.yml, a stale duplicate
removed in z-shell/.github#471. The canonical file, and the one
labels-sync.rb reads, is lib/labels.yml at that repository's root.

Supports z-shell/.github#461.

---------

Co-authored-by: Salvydas Lukosius <ss-o@users.noreply.github.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