Skip to content

Commit 432a130

Browse files
committed
testing changes
1 parent c647b73 commit 432a130

File tree

2 files changed

+31
-31
lines changed

2 files changed

+31
-31
lines changed

.github/workflows/GPT1.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
1-
name: Code Review
1+
# name: Code Review
22

3-
permissions:
4-
contents: read
5-
pull-requests: write
3+
# permissions:
4+
# contents: read
5+
# pull-requests: write
66

7-
on:
8-
pull_request:
9-
types:
10-
- opened
11-
- synchronize
12-
- reopened
7+
# on:
8+
# pull_request:
9+
# types:
10+
# - opened
11+
# - synchronize
12+
# - reopened
1313

14-
jobs:
15-
test:
16-
# if: ${{ contains(github.event.*.labels.*.name, 'gpt review') }} # Optional; to run only when a label is attached
17-
runs-on: ubuntu-latest
18-
steps:
19-
- uses: jaci-nordic/ChatGPT-CodeReview@main
20-
env:
21-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22-
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
23-
# Optional
24-
LANGUAGE: English
25-
OPENAI_API_ENDPOINT: https://api.openai.com/v1
26-
MODEL: gpt-4o-mini # https://platform.openai.com/docs/models
27-
PROMPT: "Please check if there are any confusions or irregularities in the following code diff: "
28-
top_p: 1 # https://platform.openai.com/docs/api-reference/chat/create#chat/create-top_p
29-
temperature: 1 # https://platform.openai.com/docs/api-reference/chat/create#chat/create-temperature
30-
max_tokens: 10000
31-
MAX_PATCH_LENGTH: 10000 # if the patch/diff length is large than MAX_PATCH_LENGTH, will be ignored and won't review. By default, with no MAX_PATCH_LENGTH set, there is also no limit for the patch/diff length.
32-
IGNORE_PATTERNS: /node_modules/**/*,*.md # glob pattern or regex pattern to ignore files, separated by comma
33-
INCLUDE_PATTERNS: "*.*" # glob pattern or regex pattern to include files, separated by comma
14+
# jobs:
15+
# test:
16+
# # if: ${{ contains(github.event.*.labels.*.name, 'gpt review') }} # Optional; to run only when a label is attached
17+
# runs-on: ubuntu-latest
18+
# steps:
19+
# - uses: jaci-nordic/ChatGPT-CodeReview@main
20+
# env:
21+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
# OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
23+
# # Optional
24+
# LANGUAGE: English
25+
# OPENAI_API_ENDPOINT: https://api.openai.com/v1
26+
# MODEL: gpt-4o-mini # https://platform.openai.com/docs/models
27+
# PROMPT: "Please check if there are any confusions or irregularities in the following code diff: "
28+
# top_p: 1 # https://platform.openai.com/docs/api-reference/chat/create#chat/create-top_p
29+
# temperature: 1 # https://platform.openai.com/docs/api-reference/chat/create#chat/create-temperature
30+
# max_tokens: 10000
31+
# MAX_PATCH_LENGTH: 10000 # if the patch/diff length is large than MAX_PATCH_LENGTH, will be ignored and won't review. By default, with no MAX_PATCH_LENGTH set, there is also no limit for the patch/diff length.
32+
# IGNORE_PATTERNS: /node_modules/**/*,*.md # glob pattern or regex pattern to ignore files, separated by comma
33+
# INCLUDE_PATTERNS: "*.*" # glob pattern or regex pattern to include files, separated by comma
3434

subsys/app_event_manager/app_event_manager_shell.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ static int show_listeners(const struct shell *shell, size_t argc, booleen source
3939

4040
STRUCT_SECTION_FOREACH(event_listener, el) {
4141
__ASSERT_NO_MSG(el != NULL);
42-
shell_fprintf(shell, SHELL_NORMAL, "|\t[L:%s]\n", el->name);
42+
shell_fprintf(shell, SHELL_NORMAL, "|\t[L:%s]\n", el<-name);
4343
}
4444

4545
return 0;

0 commit comments

Comments
 (0)