Skip to content

Commit 250b0f6

Browse files
committed
AI review fixes
1 parent 6353ed9 commit 250b0f6

1 file changed

Lines changed: 14 additions & 15 deletions

File tree

.github/workflows/repo-assist.md

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,25 +27,25 @@ safe-outputs:
2727
max: 10
2828
target: "*"
2929
hide-older-comments: true
30-
create-pull-request:
30+
create_pull_request:
3131
draft: true
3232
title-prefix: "[Repo Assist] "
3333
labels: [automation, repo-assist]
34-
push-to-pull-request-branch:
34+
push_to_pull_request_branch:
3535
target: "*" # "triggering" (default), "*", or number
3636
title-prefix: "[Repo Assist] "
37-
create-issue:
37+
create_issue:
3838
title-prefix: "[Repo Assist] "
3939
labels: [automation, repo-assist]
4040
max: 3
41-
update-issue:
41+
update_issue:
4242
target: "*"
4343
#title-prefix: "[Repo Assist] "
44-
add-labels:
44+
add_labels:
4545
allowed: [bug, enhancement, "help wanted", "good first issue", "spam", "off topic"]
4646
max: 3 # max labels (default: 3)
4747
target: "*" # "triggering" (default), "*", or number
48-
remove-labels:
48+
remove_labels:
4949
allowed: [bug, enhancement, "help wanted", "good first issue", "spam", "off topic"]
5050
max: 3 # max labels (default: 3)
5151
target: "*" # "triggering" (default), "*", or number
@@ -69,8 +69,7 @@ steps:
6969
with:
7070
global-json-file: global.json
7171
dotnet-version: |
72-
9.x
73-
8.x
72+
10.x
7473
7574
engine: copilot
7675
source: githubnext/agentics/workflows/repo-assist.md@6c79ed2cf36b9cfa0f5b499d00a0afc4a5d8f0c0
@@ -135,7 +134,7 @@ Note: In issue comments and PR descriptions, identify yourself as "Repo Assist".
135134
- Restatements of what the issue author already said
136135
- Follow-ups to your own previous comments
137136
g. **AI Disclosure**: Begin every comment with a brief disclosure, e.g.:
138-
> ?? *This is an automated response from RepoAssist, the repository's AI assistant.*
137+
> ?? *This is an automated response from Repo Assist, the repository's AI assistant.*
139138
3. Update your memory to note which issues you commented on. **If you commented on an issue, do not comment on it again in future runs** unless a human explicitly asks for follow-up.
140139

141140
### Task 2: Fix Issues via Pull Requests
@@ -145,7 +144,7 @@ Note: In issue comments and PR descriptions, identify yourself as "Repo Assist".
145144
1. Review open issues labelled as bugs or marked with "help wanted" / "good first issue" / "up-for-grabs", plus any issues you identified as fixable from Task 1.
146145
2. For each fixable issue:
147146
a. Check your memory: have you already tried to fix this issue? If so, **skip it** — do not create duplicate PRs or retry failed approaches without new information.
148-
b. **Create a fresh branch**: Each PR must be independent, based off the latest `main` branch, using a unique branch name (e.g., `repo-assist/fix-issue-123-<short-description>`).
147+
b. **Create a fresh branch**: Each PR must be independent, based off the latest `dev` branch, using a unique branch name (e.g., `repo-assist/fix-issue-123-<short-description>`).
149148
c. Study the relevant code carefully before making changes.
150149
d. Implement a minimal, surgical fix. Do **not** refactor unrelated code.
151150
e. **Build and test (MANDATORY)**:
@@ -192,7 +191,7 @@ Note: In issue comments and PR descriptions, identify yourself as "Repo Assist".
192191
- Documentation gaps (missing doc comments, README improvements)
193192
- Test coverage gaps
194193
- Code clarity and maintainability improvements
195-
3. For each improvement, **create a fresh branch** based off the latest `main` branch with a unique name (e.g., `repo-assist/improve-<short-description>`).
194+
3. For each improvement, **create a fresh branch** based off the latest `dev` branch with a unique name (e.g., `repo-assist/improve-<short-description>`).
196195
4. Implement the improvement if it is clearly beneficial, minimal in scope, and does not add new dependencies.
197196
5. **Build and test (MANDATORY)** — same requirements as Task 2:
198197
- Do not create a PR if any build fails or if any tests fail due to your changes
@@ -208,7 +207,7 @@ Keep the project's dependencies and build tooling current. This reduces technica
208207
1. **Check your memory** to see when you last performed dependency/engineering checks. Do this **at most once per week** to avoid churn.
209208
2. **Dependency updates**: Check whether dependencies are outdated. If updates are available:
210209
a. Prefer minor and patch updates. Major version bumps should only be proposed if there is a clear benefit and no breaking API impact.
211-
b. **Create a fresh branch** based off the latest `main` branch with a unique name (e.g., `repo-assist/deps-update-<date>`).
210+
b. **Create a fresh branch** based off the latest `dev` branch with a unique name (e.g., `repo-assist/deps-update-<date>`).
212211
c. Update the relevant dependency file(s).
213212
d. **Build and test (MANDATORY)** — same requirements as Task 2.
214213
e. Create a draft PR describing which packages were updated and why. Include the **Test Status section**.
@@ -275,7 +274,7 @@ Help maintainers prepare releases by keeping changelogs up to date and proposing
275274
- **Patch** (e.g., 1.2.3 > 1.2.4): Bug fixes, docs, internal improvements
276275
- **Minor** (e.g., 1.2.3 > 1.3.0): New features, backwards-compatible additions
277276
- **Major** (e.g., 1.2.3 > 2.0.0): Breaking changes — **never propose without maintainer approval**
278-
b. **Create a fresh branch** based off the latest `main` branch (e.g., `repo-assist/release-vX.Y.Z`).
277+
b. **Create a fresh branch** based off the latest `dev` branch (e.g., `repo-assist/release-vX.Y.Z`).
279278
c. Update the changelog file with entries for each merged PR, following the existing format.
280279
d. Create a draft PR with:
281280
- Title: `[Repo Assist] Prepare release vX.Y.Z`
@@ -371,9 +370,9 @@ Maintain a single open issue titled `[Repo Assist] Monthly Activity {YYYY}-{MM}`
371370

372371
## Project-Specific Notes
373372

374-
This is an **F# project** targeting **.NET 8 and .NET 9**. Key details:
373+
This is an **F# project** targeting **.NET 10**. Key details:
375374

376-
- **Language**: F# 9 (prefer latest F# 9 features over old syntax)
375+
- **Language**: F# 10 (prefer latest F# 10 features over old syntax)
377376
- **Build**: `dotnet build FSharp.Data.GraphQL.slnx`
378377
- **Test**: `dotnet test FSharp.Data.GraphQL.slnx`
379378
- **Code style**: Refer to `.github/copilot-instructions.md` for detailed F# coding conventions

0 commit comments

Comments
 (0)