Skip to content

[sync] Update .github/workflows/apply-repo-settings.yaml - #45

Closed
automation-nsheaps[bot] wants to merge 1 commit into
mainfrom
sync/-github-workflows-apply-repo-settings-yaml-1780023825
Closed

automation-nsheaps[bot] wants to merge 1 commit into
mainfrom
sync/-github-workflows-apply-repo-settings-yaml-1780023825

Conversation

@automation-nsheaps

Copy link
Copy Markdown
Contributor

Sync update from nsheaps/.github

Direct push to nsheaps/github-actions was blocked by branch protection rules.
This PR applies the central configuration update via the standard PR flow.

Source file: ansible/templates/.github/workflows/apply-repo-settings.yaml
Target path: .github/workflows/apply-repo-settings.yaml


Auto-generated by the file sync workflow in nsheaps/.github

@jack-nsheaps

jack-nsheaps Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

🤖 Closing during org-settings cleanup. Audit at https://github.com/nsheaps/.ai-agent-jack/blob/claude/practical-shannon-a2n2d/docs/journal/2026/06/01/settings-pr-audit.md. New org-settings flow (nsheaps/.github#154 + #158) replaces this PR via stable branches and auto-merge.

@jack-nsheaps jack-nsheaps Bot closed this Jun 1, 2026
nsheaps pushed a commit that referenced this pull request Jul 27, 2026
#95)

* fix(apply-repo-settings): normalize bypass_actors order before diffing

jq -S only sorts object keys, not array element order. GitHub doesn't
guarantee bypass_actors[] comes back in the same order settings.yml
declares them, so the ruleset drift check flagged a permanent false
"needs update" whenever the live and desired bypass_actors sets were
identical but differently ordered — observed identically across
require-pr, require-1-review, and require-codeowner-review on
nsheaps/greasemonkey-scripts (workflow run 30285386587), traced back
from nsheaps/.github#103/#45.

Sort bypass_actors by (actor_type, actor_id) on both sides before the
jq -S comparison so ordering differences no longer register as drift.
Verified against the exact reported scenario (swapped actor_id order)
and against a genuine-gap case (missing actor) to confirm real drift
is still detected.

Co-Authored-By: Claude Code (~/src/nsheaps/github-actions) <noreply@anthropic.com>

* chore: `mise format`

Triggered by: de8bdc4
Workflow run: https://github.com/nsheaps/github-actions/actions/runs/30288094498

---------

Co-authored-by: Claude Code (~/src/nsheaps/github-actions) <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.

0 participants