Skip to content

Commit c1cf2d3

Browse files
authored
Merge branch 'main' into repo-assist/feature-yaml-provider-09be4085d1b6fe5b
2 parents 6d279d0 + 9923dd3 commit c1cf2d3

5 files changed

Lines changed: 36 additions & 24 deletions

File tree

.github/workflows/push-master.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,19 @@ on:
55
branches:
66
- main
77

8+
permissions:
9+
contents: write # for peaceiris/actions-gh-pages
10+
id-token: write # for NuGet trusted publishing
11+
812
jobs:
913
build:
1014

1115
runs-on: windows-latest
1216

1317
steps:
14-
- uses: actions/checkout@v1
18+
- uses: actions/checkout@v4
1519
- name: Setup .NET Core 8
16-
uses: actions/setup-dotnet@v1
20+
uses: actions/setup-dotnet@v4
1721
with:
1822
dotnet-version: 8.0.400
1923
- name: Restore .NET local tools
@@ -31,8 +35,14 @@ jobs:
3135
force_orphan: true
3236
- name: Examine bin
3337
run: ls -r bin
38+
- name: Obtain NuGet key
39+
# this hash is v1.1.0
40+
uses: NuGet/login@d22cc5f58ff5b88bf9bd452535b4335137e24544
41+
id: login
42+
with:
43+
user: fsprojects
3444
- name: Publish NuGets (if this version not published before)
35-
run: dotnet nuget push bin\FSharp.Data.*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_ORG_TOKEN_2020 }} --skip-duplicate
45+
run: dotnet nuget push bin\FSharp.Data.*.nupkg -s https://www.nuget.org/api/v2/package -k ${{ steps.nuget-login.outputs.NUGET_API_KEY }} --skip-duplicate
3646

37-
# NUGET_ORG_TOKEN_2020 is listed in "Repository secrets" in https://github.com/fsprojects/FSharp.Data/settings/secrets/actions
38-
# note, the nuget org token expires around June 2021
47+
# Trusted publishing uses NuGet OIDC
48+
# See: https://learn.microsoft.com/nuget/nuget-org/publish-a-package#trusted-publishing

.github/workflows/repo-assist.lock.yml

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/repo-assist.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ network:
3636
- schemas.microsoft.com
3737
- tomasp.net
3838
- http://www.w3.org
39-
- http://schemas.microsoft.com
39+
- http://schemas.microsoft.com
4040

4141
safe-outputs:
4242
add-comment:
@@ -76,7 +76,7 @@ tools:
7676
bash: true
7777
repo-memory: true
7878

79-
source: githubnext/agentics/workflows/repo-assist.md@b87234850bf9664d198f28a02df0f937d0447295
79+
source: githubnext/agentics/workflows/repo-assist.md@f2c5cf1e4af58e09a93ba0703c6bf084711b265f
8080
---
8181

8282
# Repo Assist
@@ -120,6 +120,8 @@ Read memory at the **start** of every run; update it at the **end**.
120120

121121
Use a **round-robin strategy**: each run, work on a different subset of tasks, rotating through them across runs so that all tasks get attention over time. Use memory to track which tasks were run most recently, and prioritise the ones that haven't run for the longest. Aim to do 2–4 tasks per run (plus the mandatory Task 11).
122122

123+
**Repeat-run mode**: When invoked via `gh aw run repo-assist --repeat`, runs occur every 5–10 minutes. Even in this mode, **actively look for useful work to do** on every run. Do not skip a run just because the last one was recent or because open PRs are awaiting CI — there is always a task to advance: label issues, scan the backlog, study the codebase, prepare a fix, push an update, or work on Task 10. Treat a "nothing to do" conclusion as a sign you haven't looked hard enough, unless there really is, like, literally nothing to do. And be careful not to do duplicate work across runs — check memory to see if you've already tried a fix or commented on an issue before doing it again.
124+
123125
Always do Task 11 (Update Monthly Activity Summary Issue) every run. In all comments and PR descriptions, identify yourself as "Repo Assist".
124126

125127
### Task 1: Triage and Comment on Open Issues

tests/FSharp.Data.Core.Tests/Http.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ let startHttpLocalServer() =
5757
port <- random.Next(10000, 65000)
5858
port
5959

60-
let baseAddress = $"http://localhost:{freePort}"
60+
let baseAddress = $"http://127.0.0.1:{freePort}"
6161

6262
let workerTask = app.RunAsync(baseAddress)
6363
printfn $"Started local http server with address {baseAddress}"

tests/FSharp.Data.Core.Tests/XmlExtensions.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ let startXmlHttpLocalServer() =
6060
port <- random.Next(10000, 65000)
6161
port
6262

63-
let baseAddress = $"http://localhost:{freePort}"
63+
let baseAddress = $"http://127.0.0.1:{freePort}"
6464
let workerTask = app.RunAsync(baseAddress)
6565

6666
{ new ITestHttpServer with

0 commit comments

Comments
 (0)