-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add genai-assisted label #144
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
Open
pierresisson
wants to merge
43
commits into
master
Choose a base branch
from
feat/add-genai-assisted-label
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
5fd2e25
feat: add genai-assisted label
pierresisson 7ab8490
feat: add more filters
pierresisson bd3808b
pattern
pierresisson d964636
test: point workflow to feature branch for testing
pierresisson 4addaef
fix: make PR body patterns much more permissive
pierresisson 64120c7
feat: remove test
pierresisson 0e47ead
feat: add tests + better pattern
pierresisson 31cabff
test
pierresisson ee6f171
Apply suggestion from @Copilot
pierresisson d2a716c
Apply suggestion from @Copilot
pierresisson 827d6c1
Apply suggestions from code review
pierresisson 15b3674
Apply suggestions from code review
pierresisson 383a7a4
feat: add claude hook
pierresisson 993a052
prettier
pierresisson 3836a75
fix eslint
pierresisson 591b408
readibility
pierresisson ed46503
labels
pierresisson 6a105a1
copilot
pierresisson 2c5de9a
yolo
pierresisson fb0b047
prettier
pierresisson 45f8569
improve
pierresisson 298f2d8
add patterns
pierresisson f1f806b
test label
pierresisson 5b43438
test label 2
pierresisson 1b15c55
test label 2
pierresisson 8af5e32
test label 2
pierresisson 67d6465
test label 2
pierresisson c2bff15
yo
pierresisson 437c978
copilot
pierresisson dcd3e5f
hook cursor
pierresisson 41b1a0b
test cursor
pierresisson 1168633
rework
pierresisson 7152d71
rework
pierresisson 04a8ff1
test label 2
pierresisson 13238ae
lbl
pierresisson 9313623
yo
pierresisson 8b72856
yo
pierresisson ef9fc27
docs: readme
pierresisson dce61ba
copilot review
pierresisson 341624c
copilot review
pierresisson 879a1b2
prettier
pierresisson 744e177
docs: better readme
pierresisson 15033ea
review + prettier + sortpackage
pierresisson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| { | ||
| "hooks": { | ||
| "Stop": [ | ||
| { | ||
| "hooks": [ | ||
| { | ||
| "type": "command", | ||
| "command": "touch .claude-assisted" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| { | ||
| "version": 1, | ||
| "hooks": { | ||
| "stop": [ | ||
| { | ||
| "command": "touch .cursor-assisted" | ||
pierresisson marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| } | ||
| ] | ||
| } | ||
| } | ||
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| #!/bin/sh | ||
| COMMIT_MSG_FILE=$1 | ||
| COMMIT_SOURCE=$2 | ||
|
|
||
| # Skip for merge/squash commits | ||
| case "$COMMIT_SOURCE" in | ||
| merge|squash) exit 0 ;; | ||
| esac | ||
|
|
||
| # Check if Co-Authored-By is already present | ||
| if grep -qi "co-authored-by:.*\(claude\|cursor\|genai\)" "$COMMIT_MSG_FILE"; then | ||
| rm -f .cursor-assisted .claude-assisted | ||
| exit 0 | ||
| fi | ||
|
|
||
| # Add Co-Authored-By based on which agent was used | ||
| if [ -f ".cursor-assisted" ]; then | ||
| echo "" >> "$COMMIT_MSG_FILE" | ||
| echo "Co-Authored-By: Cursor" >> "$COMMIT_MSG_FILE" | ||
| rm -f .cursor-assisted | ||
| fi | ||
|
|
||
| if [ -f ".claude-assisted" ]; then | ||
| echo "" >> "$COMMIT_MSG_FILE" | ||
| echo "Co-Authored-By: Claude" >> "$COMMIT_MSG_FILE" | ||
| rm -f .claude-assisted | ||
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.