Skip to content

ci: use shared nexus-workflows upload workflow#2

Merged
alandtse merged 5 commits into
mainfrom
chore/use-shared-nexus-upload-workflow
Jul 7, 2026
Merged

ci: use shared nexus-workflows upload workflow#2
alandtse merged 5 commits into
mainfrom
chore/use-shared-nexus-upload-workflow

Conversation

@alandtse

@alandtse alandtse commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • Splits the Nexus upload out of the single monolithic job (build) into its own nexus-upload job that calls the shared alandtse/nexus-workflows reusable workflow (upload-nexus.yml@v1.5.2), the same one used by sibling repos (e.g. skyrim_vr_address_library, fallout_vr_address_library).
  • Replaces the inline dotnet tool install -g NexusUploader (the older, unmaintained agc93/nexus-uploader, using UNEX_COOKIES) with the maintained BUTR.NexusUploader fork via UNEX_NEXUSMODS_SESSION_COOKIE + UNEX_APIKEY — both already present in this repo's secrets (distributed by the Nexus-Secrets controller), no new secret setup needed.
  • Adds check_existing: true so re-runs against an already-uploaded version are idempotent instead of always re-uploading. This is safe against the duplicate-changelog bug fixed in nexus-workflows v1.5.2 (fix: gate Nexus changelog repost on version-exists to prevent duplicate entries Nexus-Workflows#8).
  • job gains an outputs: block (new_release_published, new_release_version, new_release_git_tag, new_release_notes) so nexus-upload can consume them — no change to the build/release steps themselves.
  • The now-unused UNEX_COOKIES secret can be removed after this merges.

Test plan

  • Next release run (or a manual workflow_dispatch after a merge to main) publishes normally and the nexus-upload job completes successfully

🤖 Generated with Claude Code

https://claude.ai/code/session_01G5JEn6sUpkBx2o68oLBmqk

…workflow

Splits the Nexus upload out of the monolithic build job into its own job that
calls the shared reusable workflow, replacing the inline dotnet-installed
agc93/NexusUploader (UNEX_COOKIES) with the maintained BUTR.NexusUploader fork
via UNEX_NEXUSMODS_SESSION_COOKIE, matching sibling repos. Also adds
check_existing: true for idempotent re-runs (safe against duplicate changelog
entries as of nexus-workflows v1.5.2, alandtse/Nexus-Workflows#8).

UNEX_NEXUSMODS_SESSION_COOKIE and UNEX_APIKEY were already distributed to this
repo by the Nexus-Secrets controller; UNEX_COOKIES is no longer used and can
be removed once this lands.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G5JEn6sUpkBx2o68oLBmqk
@coderabbitai

coderabbitai Bot commented Jul 6, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@alandtse, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 47 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: ffcbd62b-0c42-4965-bdbf-7cc0ee8263c9

📥 Commits

Reviewing files that changed from the base of the PR and between ad75859 and ca81274.

📒 Files selected for processing (10)
  • .github/workflows/build.yml
  • .github/workflows/unex-check.yml
  • .pre-commit-config.yaml
  • .releaserc
  • .vscode/tasks.json
  • LICENSE
  • contrib/Distribution/Config/MergeMapper.yaml
  • contrib/Distribution/fomod/ModuleConfig.xml
  • contrib/Distribution/fomod/info.xml
  • src/MergeMapper.cpp
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/use-shared-nexus-upload-workflow

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

alandtse and others added 4 commits July 6, 2026 01:28
Most repos calling this reusable workflow already track @main rather than a
pinned SHA; switching this one back matches that convention.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G5JEn6sUpkBx2o68oLBmqk
…gin alias

cycjimmy/semantic-release-action@v3 with the @achingbrain/semantic-release-github
tarball-aliased @semantic-release/github install was failing npm install (no
usable stderr surfaced by the action, just a generic "Command failed" error).
.releaserc already references the plain @semantic-release/github plugin, and
fallout_vr_address_library already runs cleanly on @v4 with the plain package,
so this drops the years-old alias workaround and matches that known-working
config.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G5JEn6sUpkBx2o68oLBmqk
actions/checkout v3->v7, lukka/run-vcpkg v10->v11, cycjimmy/semantic-release-action
v4->v6, svenstaro/upload-release-action 2.3.0->2.11.5. lukka/run-cmake and
lukka/get-cmake were already tracking their latest majors.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G5JEn6sUpkBx2o68oLBmqk
pre-commit.ci was erroring on this PR ("error during ci config") because the
repo had no .pre-commit-config.yaml at all. Adds one, which surfaced:
- trailing-whitespace/EOF fixes in a handful of files (whitespace only,
  including src/MergeMapper.cpp)
- unex-check.yml still used the old agc93/NexusUploader tool and UNEX_COOKIES
  secret, both already replaced in the real upload path by this PR — migrated
  it to BUTR.NexusUploader + UNEX_NEXUSMODS_SESSION_COOKIE/UNEX_APIKEY so the
  daily credential check actually validates what's used
- check-json excludes .vscode/ (VS Code config files are JSONC, not JSON)
- actionlint's report on build.yml's `${{ runner.workspace }}` is suppressed
  via -ignore rather than "fixed": it's not a valid expression context, but
  the CI run already confirmed the resulting path resolves correctly in
  practice, and the technically-correct replacement (github.workspace) is a
  different directory (one level deeper), which would be a real behavior
  change disguised as a lint fix

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G5JEn6sUpkBx2o68oLBmqk
@alandtse alandtse changed the title chore: use shared nexus-workflows upload-nexus.yml reusable workflow ci: use shared nexus-workflows upload-nexus.yml reusable workflow Jul 7, 2026
@alandtse alandtse changed the title ci: use shared nexus-workflows upload-nexus.yml reusable workflow ci: use shared nexus-workflows upload workflow Jul 7, 2026
@alandtse
alandtse merged commit 92b3e4d into main Jul 7, 2026
4 checks passed
@alandtse
alandtse deleted the chore/use-shared-nexus-upload-workflow branch July 7, 2026 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant