Skip to content

Compliance: delete_branch_on_merge #90

Closed

Description

@don-petry

Compliance Finding

Category: settings
Severity: warning
Check: delete_branch_on_merge

Detail

Automatically delete head branches must be enabled (current: null, expected: true)

Standard Reference

standards/github-settings.md#repository-settings--standard-defaults

Remediation

Please review the linked standard and bring this repository into compliance.

See the full standards documentation for implementation guidance.


This issue was automatically created by the weekly compliance audit.

Activity

  1. don-petry commented on Apr 9, 2026

    @don-petry
    ContributorAuthor

    Weekly Compliance Audit (2026-04-09)

    This finding is still open.

    Detail: Automatically delete head branches must be enabled (current: null, expected: true)

    Standard: standards/github-settings.md#repository-settings--standard-defaults

  2. don-petry commented on Apr 9, 2026

    @don-petry
    ContributorAuthor

    Claude encountered an error —— View job


    I'll analyze this and get back to you.

  3. don-petry commented on Apr 10, 2026

    @don-petry
    ContributorAuthor

    Weekly Compliance Audit (2026-04-10)

    This finding is still open.

    Detail: Automatically delete head branches must be enabled (current: null, expected: true)

    Standard: standards/github-settings.md#repository-settings--standard-defaults

  4. don-petry commented on Apr 14, 2026

    @don-petry
    ContributorAuthor

    Claude finished @don-petry's task in 3m 43s —— View job • claude/issue-90-20260414-1252 • Create PR ➔


    Tasks

    • Gather context and understand the issue
    • Check for existing settings configuration files
    • Read the org standards for repository settings
    • Apply delete_branch_on_merge: true via GitHub API (confirmed true)
    • Create .github/scripts/apply-repo-settings.sh to enforce required settings
    • Commit and push
    • Create PR — petry-projects/markets#104

    Summary

    The delete_branch_on_merge setting was null/unset; it has been explicitly set to true via the GitHub API. A new script .github/scripts/apply-repo-settings.sh was added following the same pattern as apply-code-quality-ruleset.sh — it idempotently applies all settings required by the org standard, preventing future drift.

    The next compliance audit run should automatically close this issue once it confirms delete_branch_on_merge: true.

  5. added a commit that references this issue on Apr 14, 2026
    145ba28
  6. don-petry commented on Apr 17, 2026

    @don-petry
    ContributorAuthor

    Weekly Compliance Audit (2026-04-17)

    This finding is still open.

    Detail: Automatically delete head branches must be enabled (current: null, expected: true)

    Standard: standards/github-settings.md#repository-settings--standard-defaults

  7. don-petry commented on Apr 18, 2026

    @don-petry
    ContributorAuthor

    Claude finished @don-petry's task in 5m 29s —— View job • claude/issue-90-20260418-1841 • Create PR ➔


    Tasks

    Summary

    • delete_branch_on_merge is confirmed true via the GitHub API (re-applied this run)
    • Added .github/scripts/apply-repo-settings.sh — an idempotent script that enforces all settings required by the org standard. Follows the same pattern as the existing apply-code-quality-ruleset.sh
    • Previous PR #104 (same intent, never merged) is superseded by this PR

    The next compliance audit should automatically close this issue once it confirms delete_branch_on_merge: true.

    • claude/issue-90-20260418-1841

  8. added a commit that references this issue on Apr 18, 2026
    dc48ad0
  9. 6 remaining items

  10. don-petry commented on May 11, 2026

    @don-petry
    ContributorAuthor

    Weekly Compliance Audit (2026-05-11)

    This finding is still open.

    Detail: Automatically delete head branches must be enabled (current: null, expected: true)

    Standard: standards/github-settings.md#repository-settings--standard-defaults

  11. don-petry commented on May 12, 2026

    @don-petry
    ContributorAuthor

    Weekly Compliance Audit (2026-05-12)

    This finding is still open.

    Detail: Automatically delete head branches must be enabled (current: null, expected: true)

    Standard: standards/github-settings.md#repository-settings--standard-defaults

  12. don-petry commented on May 12, 2026

    @don-petry
    ContributorAuthor

    Weekly Compliance Audit (2026-05-12)

    This finding is still open.

    Detail: Automatically delete head branches must be enabled (current: null, expected: true)

    Standard: standards/github-settings.md#repository-settings--standard-defaults

  13. don-petry commented on May 12, 2026

    @don-petry
    ContributorAuthor

    Weekly Compliance Audit (2026-05-12)

    This finding is still open.

    Detail: Automatically delete head branches must be enabled (current: null, expected: true)

    Standard: standards/github-settings.md#repository-settings--standard-defaults

  14. don-petry commented on May 12, 2026

    @don-petry
    ContributorAuthor

    Weekly Compliance Audit (2026-05-12)

    This finding is still open.

    Detail: Automatically delete head branches must be enabled (current: null, expected: true)

    Standard: standards/github-settings.md#repository-settings--standard-defaults

  15. don-petry commented on May 12, 2026

    @don-petry
    ContributorAuthor

    Weekly Compliance Audit (2026-05-12)

    This finding is still open.

    Detail: Automatically delete head branches must be enabled (current: null, expected: true)

    Standard: standards/github-settings.md#repository-settings--standard-defaults

  16. don-petry commented on May 13, 2026

    @don-petry
    ContributorAuthor

    Resolved! This check is now passing as of 2026-05-13. Closing automatically.

  17. added a commit that references this issue on May 20, 2026
    0e1f369
  18. added
    dev-leadFor dev-lead agent pickup
    and removed
    dev-leadFor dev-lead agent pickup
    on Jun 2, 2026
  19. don-petry commented on Jun 5, 2026

    @don-petry
    ContributorAuthor

    Resolved! This check is now passing as of 2026-06-05. Closing automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    compliance-auditAutomated compliance audit findingdev-leadFor dev-lead agent pickup

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions