Skip to content

better structure of prompts #4272

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 8 commits into from
Apr 28, 2025
Merged

better structure of prompts #4272

merged 8 commits into from
Apr 28, 2025

Conversation

manolo
Copy link
Member

@manolo manolo commented Apr 28, 2025

No description provided.

@manolo manolo force-pushed the AI-PR-PROMPTS branch 3 times, most recently from 0c5fa11 to a5f2c74 Compare April 28, 2025 07:26
@ZheSun88 ZheSun88 merged commit 979bd46 into AI-PR Apr 28, 2025
4 checks passed
@ZheSun88 ZheSun88 deleted the AI-PR-PROMPTS branch April 28, 2025 09:07
manolo added a commit that referenced this pull request Apr 28, 2025
* Initial scripting for rating the quality of a PR change to the docs via AI

* First draft of the PR workflow; changes to the scripts to reflect Github environment

* Added sparse checkout

* Making the scripts executable and updating the workflow

* Set executable flags. Updated all scripts to /bin/bash

* Fixed paths in scripts and changed from choco to apt

* Added repo parameter to workflow and updated the scripts to work with that - making them more universal

* use setup-gh for installing gh, setup correctly env from secrets, use 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

* remove changes in adoc

* refactor style check scripts (#4270)

* move scripts to its own folder, and remove score

* Adding changes to an adoc

* remove changes in adoc

* add headers to scripts

* better structure of prompts (#4272)

* 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]>

* Update .github/workflows/style.yml

Co-authored-by: Zhe Sun <[email protected]>

---------

Co-authored-by: edler-san <[email protected]>
Co-authored-by: Luciano Vernaschi <[email protected]>
Co-authored-by: Zhe Sun <[email protected]>
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