Skip to content

Commit e74d7be

Browse files
HavenDVclaude
andauthored
fix: use personal token only for auto-merge (#114)
* Update CLAUDE.md to reference .slnx instead of .sln Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: use personal token only for auto-merge --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ae218af commit e74d7be

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/auto-merge.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
run: gh pr review --approve "$PR_URL"
3131
env:
3232
PR_URL: ${{ github.event.pull_request.html_url }}
33-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3434

3535
- name: Enable auto-merge
3636
run: gh pr merge --auto --squash "$PR_URL"
3737
env:
3838
PR_URL: ${{ github.event.pull_request.html_url }}
39-
GITHUB_TOKEN: ${{ secrets.PERSONAL_TOKEN || secrets.GITHUB_TOKEN }}
39+
GH_TOKEN: ${{ secrets.PERSONAL_TOKEN }}

CLAUDE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ High-performance .NET port of OpenAI's [tiktoken](https://github.com/openai/tikt
1010

1111
```bash
1212
# Build the solution
13-
dotnet build Tiktoken.sln
13+
dotnet build Tiktoken.slnx
1414

1515
# Build for release
16-
dotnet build Tiktoken.sln -c Release
16+
dotnet build Tiktoken.slnx -c Release
1717

1818
# Run unit tests
1919
dotnet test src/tests/Tiktoken.UnitTests/Tiktoken.UnitTests.csproj
2020

2121
# Run all tests
22-
dotnet test Tiktoken.sln
22+
dotnet test Tiktoken.slnx
2323

2424
# Run benchmarks
2525
dotnet run -c Release --project src/benchmarks/Tiktoken.Benchmarks/Tiktoken.Benchmarks.csproj

0 commit comments

Comments
 (0)