Skip to content

OCPBUGS-89689(karpenter): use completed release image for unpinned NodeClaims during CP upgrade #5548

OCPBUGS-89689(karpenter): use completed release image for unpinned NodeClaims during CP upgrade

OCPBUGS-89689(karpenter): use completed release image for unpinned NodeClaims during CP upgrade #5548

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