File tree 4 files changed +7
-7
lines changed
src/codegate/pipeline/cli
4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 26
26
uses : docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 # v3
27
27
- name : Download artifact
28
28
id : download-artifact
29
- uses : dawidd6/action-download-artifact@80620a5d27ce0ae443b965134db88467fc607b43 # v7
29
+ uses : dawidd6/action-download-artifact@20319c5641d495c8a52e688b7dc5fada6c3a9fbc # v8
30
30
with :
31
31
github_token : ${{ github.token }}
32
32
workflow : " .github/workflows/import_packages.yml"
Original file line number Diff line number Diff line change 57
57
type=semver,pattern=v{{major}}.{{minor}}
58
58
- name : Download artifact
59
59
id : download-artifact
60
- uses : dawidd6/action-download-artifact@80620a5d27ce0ae443b965134db88467fc607b43 # v7
60
+ uses : dawidd6/action-download-artifact@20319c5641d495c8a52e688b7dc5fada6c3a9fbc # v8
61
61
with :
62
62
github_token : ${{ github.token }}
63
63
workflow : " .github/workflows/import_packages.yml"
Original file line number Diff line number Diff line change 33
33
34
34
- name : Download json data
35
35
id : download-json-data
36
- uses : dawidd6/action-download-artifact@80620a5d27ce0ae443b965134db88467fc607b43 # v7
36
+ uses : dawidd6/action-download-artifact@20319c5641d495c8a52e688b7dc5fada6c3a9fbc # v8
37
37
with :
38
38
repo : stacklok/codegate-data
39
39
workflow : " .github/workflows/generate-artifact.yml"
47
47
- name : Download artifact
48
48
if : ${{ github.event.inputs.enable_artifact_download == 'true' }}
49
49
id : download-artifact
50
- uses : dawidd6/action-download-artifact@80620a5d27ce0ae443b965134db88467fc607b43 # v7
50
+ uses : dawidd6/action-download-artifact@20319c5641d495c8a52e688b7dc5fada6c3a9fbc # v8
51
51
with :
52
52
github_token : ${{ github.token }}
53
53
workflow : " .github/workflows/import_packages.yml"
Original file line number Diff line number Diff line change @@ -79,8 +79,8 @@ async def process(
79
79
last_user_message_str , _ = last_user_message
80
80
last_user_message_str = last_user_message_str .strip ()
81
81
is_cline_client = any (
82
- "Cline" in str (message .get ("content" , "" )) for message in request . get ( "messages" ,
83
- [])
82
+ "Cline" in str (message .get ("content" , "" ))
83
+ for message in request . get ( "messages" , [])
84
84
)
85
85
if not is_cline_client :
86
86
# Check if "codegate" is the first word in the message
@@ -90,7 +90,7 @@ async def process(
90
90
xml_start = re .search (r"<[^>]+>" , last_user_message_str )
91
91
if xml_start :
92
92
# Start processing only from the first XML tag
93
- relevant_message = last_user_message_str [xml_start .start ():]
93
+ relevant_message = last_user_message_str [xml_start .start () :]
94
94
# Remove all XML tags and trim whitespace
95
95
stripped_message = re .sub (r"<[^>]+>" , "" , relevant_message ).strip ()
96
96
# Check if "codegate" is the first word
You can’t perform that action at this time.
0 commit comments