Skip to content

feat(action): add PR re-titling option when AI is detected (#84) - #95

Draft
neo0007777 wants to merge 1 commit into
chaoss:mainfrom
neo0007777:feature/action-retitling-option
Draft

feat(action): add PR re-titling option when AI is detected (#84)#95
neo0007777 wants to merge 1 commit into
chaoss:mainfrom
neo0007777:feature/action-retitling-option

Conversation

@neo0007777

Copy link
Copy Markdown

Description

Adds retitling-enabled and title-prefix inputs so communities with a no-AI policy can automatically add a configurable prefix, such as [AI Detected] , to a PR title when AI involvement is detected. The step also prevents double-prefixing by checking whether the current title already starts with the configured prefix before updating it. This requires pull-requests: write permission when enabled.

This PR fixes #84

Notes for Reviewers
Signed commits
[x] Yes, I signed my commits.
Generative AI disclosure

Please select one option:

  • This contribution was NOT assisted or created by Generative AI tools.
  • This contribution was assisted or created by Generative AI tools.

If AI tools were used, please provide details below:

What tools were used?
How were these tools used?
Did you review these outputs before submitting this PR?

Add retitling-enabled and title-prefix inputs to allow communities
with a no-AI policy to automatically prepend a configurable prefix
(e.g. '[AI Detected] ') to a PR title when AI involvement is detected.

The step guards against double-prefixing by checking if the current
title already starts with the configured prefix before patching it.
Requires pull-requests: write permission when enabled.

Signed-off-by: Shiva Sharma <shivaumj@gmail.com>
@MoralCode

Copy link
Copy Markdown
Contributor

@neo0007777 you currently have over half of the currently open PRs on this repo. We notice/appreceate your energy/enthusiasm and would like you to join the community (we chat on the
CHAOSS Slack in the #data-ai-disclosure-detection channel) so that we (the maintainers) can help you find issues to work on that are more likely to be merged.

The pace at which your are submitting code, especially larger changes, is outpacing our available time to review changes and we'd love to work with you to make sure that we can use our review time as effectively as possible.

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

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

allow github action to respond to detected AI by re-titling the issue

2 participants