Skip to content

chore: add a GH action for language checking using openAI #4271

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Apr 28, 2025
Merged

Conversation

manolo
Copy link
Member

@manolo manolo commented Apr 28, 2025

No description provided.

edler-san and others added 14 commits April 17, 2025 15:20
… GITHUB_OUTPUT in the action, run gh if success (#4260)

* use setup-gh for installing gh, setup correctly env from secrets, use GITHUB_OUTPUT in the action, run gh if success

* use stderr

* use echo -e

* ignore files not ending in .java .tsx .adoc

* Consider only files ending in .tsx .java and .adoc

* find comment if exist

* modify an adoc

* use proper if blocks

* typo in var name

* change comment title

* increase peter-evans action version

* change action name
* move scripts to its own folder, and remove score

* Adding changes to an adoc
* better structure for prompts

* improve even more and simplify prompts

* Remove comment if no issues

* ai should return empty string if no suggestions

* small doc change

* stress not to comment anything that is not modified

* Revert "small doc change"

This reverts commit 52ca11f.

* Update scripts/style-check/user-prompt.txt

Co-authored-by: Luciano Vernaschi <[email protected]>

---------

Co-authored-by: Luciano Vernaschi <[email protected]>
@manolo manolo merged commit bc95938 into latest Apr 28, 2025
4 of 5 checks passed
@manolo manolo deleted the AI-PR branch April 28, 2025 10:25
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.

3 participants