Skip to content

chore: repo setup — CI, license, .gitattributes#3

Merged
StreamDemon merged 2 commits into
mainfrom
chore/repo-setup
Jul 1, 2026
Merged

chore: repo setup — CI, license, .gitattributes#3
StreamDemon merged 2 commits into
mainfrom
chore/repo-setup

Conversation

@StreamDemon

@StreamDemon StreamDemon commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Modernizes the previously-abandoned repo configuration.

Changes

  • CI (.github/workflows/ci.yml) — runs vp check (format + lint + typecheck) and the 51-test suite on every PR and push to main. Uses the project's own vite-plus dependency (pnpm install --frozen-lockfilepnpm exec vp …), so no separate toolchain install is needed.
  • LICENSE (MIT) — covers the RiftForge software only, with an explicit notice that the Rifts rules content transcribed from Rifts Ultimate Edition is © Palladium Books and not covered by the MIT license.
  • README — adds a "License & intellectual property" section documenting the carve-out (unofficial fan project, not affiliated with Palladium).
  • .gitattributes — normalizes line endings to LF, preventing the CRLF churn seen on Windows.

Also applied to repo settings (out-of-band)

Description, topics, auto-merge, and Dependabot alerts + automated security fixes are enabled. Branch protection on main (require PR + passing CI) will be enabled once this CI check has run once.


Summary by cubic

Set up CI to run vp run rules#check, rules#test, and rules#build on every PR and pushes to main using the repo’s vite-plus via pnpm, with least‑privilege contents: read, SHA‑pinned actions, and concurrency to cancel in‑progress runs. Added an MIT license for the software with a clear carve‑out for Palladium‑owned rules content, updated the README with the IP notice, and normalized line endings to LF via .gitattributes.

Written for commit 414b4f4. Summary will update on new commits.

Review in cubic

- CI: GitHub Actions runs `vp check` (format+lint+typecheck) and the test
  suite on every PR and push to main, via the project's own vite-plus dep
  (pnpm install + pnpm exec vp) — no separate installer needed.
- LICENSE: MIT for the RiftForge software, with an explicit notice that the
  transcribed Rifts rules content is © Palladium Books and not covered.
- README: "License & intellectual property" section documenting the carve-out.
- .gitattributes: normalize line endings to LF (stops CRLF churn on Windows).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018ur5Eu6dC17feVQH5smrFw

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3 issues found across 4 files

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml
Addresses Cubic review on PR #3:
- run `vp run rules#build` so broken packages are caught in CI, not at release
- restrict GITHUB_TOKEN to `contents: read` (least privilege)
- pin actions/checkout, actions/setup-node, pnpm/action-setup to commit SHAs
  instead of mutable major tags (supply-chain hardening)

Job name kept as "Check & Test" to match the required status check.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018ur5Eu6dC17feVQH5smrFw
@StreamDemon StreamDemon merged commit a73c143 into main Jul 1, 2026
2 checks passed
@StreamDemon StreamDemon deleted the chore/repo-setup branch July 1, 2026 17:19
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