Skip to content

cloclo: add protected-files fallback-to-issue#21078

Merged
pelikhan merged 2 commits intomainfrom
copilot/aw-fix-cloclo-failed
Mar 15, 2026
Merged

cloclo: add protected-files fallback-to-issue#21078
pelikhan merged 2 commits intomainfrom
copilot/aw-fix-cloclo-failed

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 15, 2026

/cloclo was hard-failing when its generated PR touched protected files (e.g. .github/workflows/smoke-update-cross-repo-pr.lock.yml), with no recovery path.

Changes

  • cloclo.md: Added protected-files: fallback-to-issue to the create-pull-request safe-output so blocked PRs degrade gracefully to a review issue instead of erroring out.
safe-outputs:
  create-pull-request:
    ...
    protected-files: fallback-to-issue

Copilot AI and others added 2 commits March 15, 2026 13:30
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI linked an issue Mar 15, 2026 that may be closed by this pull request
@pelikhan pelikhan marked this pull request as ready for review March 15, 2026 13:36
Copilot AI review requested due to automatic review settings March 15, 2026 13:36
@pelikhan pelikhan merged commit 47058f0 into main Mar 15, 2026
@pelikhan pelikhan deleted the copilot/aw-fix-cloclo-failed branch March 15, 2026 13:37
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a protected-files: fallback-to-issue directive to the /cloclo workflow so that when generated PRs touch protected files, the workflow gracefully degrades to opening a review issue instead of hard-failing.

Changes:

  • Added protected-files: fallback-to-issue to cloclo.md frontmatter under create-pull-request safe-outputs.
  • Regenerated cloclo.lock.yml to include the new protected_files_policy field and updated metadata hash.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/cloclo.md Adds protected-files: fallback-to-issue config under create-pull-request
.github/workflows/cloclo.lock.yml Auto-regenerated lock file reflecting the new protected_files_policy key and updated frontmatter hash

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

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.

[aw] /cloclo failed

3 participants