Skip to content

CNTRLPLANE-3952: fix(nodepool): resolve CPO image from NodePool release for haproxy ignition config #11900

CNTRLPLANE-3952: fix(nodepool): resolve CPO image from NodePool release for haproxy ignition config

CNTRLPLANE-3952: fix(nodepool): resolve CPO image from NodePool release for haproxy ignition config #11900

name: Restructure Commits
on:
issue_comment:
types: [created]
permissions:
id-token: write
contents: write
pull-requests: write
jobs:
restructure-commits:
if: >-
github.event.issue.pull_request &&
startsWith(github.event.comment.body, '/restructure-commits') &&
(github.event.comment.author_association == 'MEMBER' ||
github.event.comment.author_association == 'OWNER' ||
github.event.comment.author_association == 'COLLABORATOR')
uses: ./.github/workflows/reusable-claude-on-pr.yaml
with:
command-name: restructure-commits
status-message: "Restructuring commits"
claude-prompt: >-
/restructure-commits -- You are running in CI. Force push with --force-with-lease when done without asking for confirmation.
If the push fails with a permission or authentication error, post a PR comment using
'gh pr comment' explaining that the restructuring succeeded locally but the push failed because
the PR does not allow maintainer edits, and ask the author to enable 'Allow edits from
maintainers' and retry /restructure-commits.
max-turns: 200
secrets: inherit