Skip to content

ci: automatically delete merged temporary branches - #428

Open
Ivan-VHS wants to merge 3 commits into
mainfrom
automation/merged-branch-cleanup-v1
Open

Ivan-VHS wants to merge 3 commits into
mainfrom
automation/merged-branch-cleanup-v1

Conversation

@Ivan-VHS

@Ivan-VHS Ivan-VHS commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Purpose

Add a same-repository, main-only cleanup workflow for merged pull-request heads.

Safety

  • Runs only after a PR is merged into main.
  • Never deletes a cross-repository/fork head.
  • Protects permanent branch names and backup/, archive/, release/, maintenance/, support/, and hotfix/ histories.
  • Uses the narrowly scoped contents: write permission and GitHub's own token.

Existing branches are not removed by this change; it governs future merged PR heads.

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-12-02T15:35:06.883108Z
We couldn’t complete this review. Comment @codex review to try again.
78938ba PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

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.

1 participant