From 7f1b873698e28c1ac0f2b2fe852b00eb996d291f Mon Sep 17 00:00:00 2001 From: Chrison Simtian Date: Sun, 31 May 2026 23:02:29 +1200 Subject: [PATCH] fix(ci): prerelease push to the repo-owner feed (was 403) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR #5 repointed publish.yml to chrison-dev but missed the ci.yml prerelease push, which still targeted the old ChrisonSimtian feed → 403 Forbidden on every push to main (GITHUB_TOKEN can't write that owner). - ci.yml: --source → ${{ github.repository_owner }} (matches publish.yml). - Directory.Build.props Repository/Project URLs + README links → Chrison-dev. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/ci.yml | 2 +- Directory.Build.props | 4 ++-- README.md | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae0da87..a6f5479 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,6 +42,6 @@ jobs: run: | dotnet pack -c Release -o artifacts --version-suffix "preview.${{ github.run_number }}" dotnet nuget push "artifacts/*.nupkg" \ - --source "https://nuget.pkg.github.com/ChrisonSimtian/index.json" \ + --source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" \ --api-key "${{ secrets.GITHUB_TOKEN }}" \ --skip-duplicate --no-symbols diff --git a/Directory.Build.props b/Directory.Build.props index 5357c43..cbd33a1 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -7,8 +7,8 @@ enable Chrison Simtian Homelab - https://github.com/ChrisonSimtian/UnifiSharp - https://github.com/ChrisonSimtian/UnifiSharp + https://github.com/Chrison-dev/UnifiSharp + https://github.com/Chrison-dev/UnifiSharp git Unlicense true diff --git a/README.md b/README.md index 97d72e3..11e4950 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,9 @@ A C# client for the **UniFi Network API** — **mostly code-generated** from Ubiquiti's official OpenAPI spec, with a thin hand-written runtime for auth and -transport. Sibling to [ProxmoxSharp](https://github.com/ChrisonSimtian/ProxmoxSharp); +transport. Sibling to [ProxmoxSharp](https://github.com/Chrison-dev/ProxmoxSharp); built to bring the UniFi-managed network under the homelab's C#-native IaC. See -[ADR-0003](https://github.com/ChrisonSimtian/Homelab/blob/main/docs/adr/ADR-0003-unifisharp.md). +[ADR-0003](https://github.com/Chrison-dev/Homelab/blob/main/docs/adr/ADR-0003-unifisharp.md). ## Approach @@ -88,6 +88,6 @@ unifisharp discover # JSON snapshot: sites + device/client/network counts Read client + `discover` + `unifisharp` CLI building from the 10.4.57 spec. Live read tests skip without `UNIFI_*` — run them against the -[`.containers/unifi`](https://github.com/ChrisonSimtian/Homelab/tree/main/.containers/unifi) +[`.containers/unifi`](https://github.com/Chrison-dev/Homelab/tree/main/.containers/unifi) test controller (never the live network). **Next:** the legacy write adapter (firewall rules / port profiles) once verified against the container.