Skip to content

Add workflow to run ai detection action within repo#41

Merged
MoralCode merged 2 commits into
chaoss:mainfrom
omkar-foss:dogfood-aidetect
Jun 10, 2026
Merged

Add workflow to run ai detection action within repo#41
MoralCode merged 2 commits into
chaoss:mainfrom
omkar-foss:dogfood-aidetect

Conversation

@omkar-foss

Copy link
Copy Markdown
Contributor

Closes #14.

This PR adds a gh workflow to run our AI detection action locally within repo.

Also please note, while looking into this I found a permissions concern, have created a separate issue #40 for it.

@omkar-foss

Copy link
Copy Markdown
Contributor Author

New workflow is running the AI detection action as expected, but the action fails as it's unable to get the head commit here. Will need to look into this.

@omkar-foss

Copy link
Copy Markdown
Contributor Author

Convert this to draft until I fix the failing check.

@omkar-foss omkar-foss marked this pull request as draft May 29, 2026 07:20
@omkar-foss omkar-foss marked this pull request as ready for review June 4, 2026 07:41
Signed-off-by: Omkar P <45419097+omkar-foss@users.noreply.github.com>
Signed-off-by: Omkar P <45419097+omkar-foss@users.noreply.github.com>
@omkar-foss

Copy link
Copy Markdown
Contributor Author

Convert this to draft until I fix the failing check.

AI detection action is working fine within repo 🎉

I've resolved the failing check here, also rebased with main. PR is ready for review, thanks

@omkar-foss

omkar-foss commented Jun 4, 2026

Copy link
Copy Markdown
Contributor Author

I added a test commit to check if the AI detection action detects the AI disclosure in it and moves to setting the label and it's working as expected ✅

It detects the ChatGPT ai disclosure in my test commit and moves to setting the ai-detected label here.

Currently it detects the disclosure as a tool mention and not as an assisted-by. This will get resolved separately in #33.

Note: Label setting fails (as expected) since write permissions to set a label aren't given in this PR. We can make this configurable in #40. I'll look into it in a separate PR.

@omkar-foss

Copy link
Copy Markdown
Contributor Author

Test commit removed, PR ready for review. Thanks

@MoralCode

Copy link
Copy Markdown
Contributor

Yolo

@MoralCode MoralCode merged commit f0bbfb0 into chaoss:main Jun 10, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

Install this github action in our own repo

2 participants