Skip to content

ci: adopt org-wide reusable CI workflow - #16

Merged
OmikronApex merged 1 commit into
mainfrom
chore/unified-ci
Jul 7, 2026
Merged

OmikronApex merged 1 commit into
mainfrom
chore/unified-ci

Conversation

@OmikronApex

@OmikronApex OmikronApex commented Jul 7, 2026 •

Copy link
Copy Markdown
Contributor

Adds the thin caller for the org-wide reusable CI workflow in got-feedback/.github (see got-feedBack/.github#4). The reusable workflow self-detects this repo's test stack (plain-node JS scripts, npm test, and/or pytest) and no-ops green when there is nothing to run — so this repo needs no CI changes when tests are added later.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Added an automated CI workflow for pushes and pull requests to the main branch.
    • Standardized build and validation checks through a shared workflow.

@coderabbitai

coderabbitai Bot commented Jul 7, 2026 •

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

A new GitHub Actions workflow file was added defining a ci workflow that triggers on pushes and pull requests to the main branch, delegating execution to an external reusable workflow.

Changes

CI Workflow Addition

Layer / File(s) Summary
Add CI workflow
.github/workflows/ci.yml
New workflow triggers on push and pull_request to main, with a ci job invoking a reusable workflow from got-feedback/.github/.github/workflows/reusable-ci.yml@main.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: wiring this repository to the organization-wide reusable CI workflow.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/unified-ci

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

@coderabbitai coderabbitai 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/ci.yml:
- Line 10: The reusable CI workflow reference is currently using a mutable
branch ref, which can change without review. Update the workflow call in the CI
configuration to use an immutable reference instead, such as a specific commit
SHA or release tag, so the reusable workflow remains stable and reproducible.
Locate the external workflow invocation that uses
got-feedback/.github/.github/workflows/reusable-ci.yml and replace the current
ref with a pinned one.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: c553e769-9d50-465b-88e9-98328fd608e9

📥 Commits

Reviewing files that changed from the base of the PR and between 2aed7c9 and 873b11d.

📒 Files selected for processing (1)
  • .github/workflows/ci.yml

Comment thread .github/workflows/ci.yml

jobs:
ci:
uses: got-feedback/.github/.github/workflows/reusable-ci.yml@main

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔒 Security & Privacy | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Inspect the workflow file and surrounding repository context.
git ls-files .github/workflows/ci.yml .github/workflows
printf '\n--- ci.yml ---\n'
cat -n .github/workflows/ci.yml

printf '\n--- search for reusable workflow references ---\n'
rg -n "got-feedback/.github/.github/workflows/reusable-ci.yml|uses: .*reusable-ci.yml|workflow_call|workflow_dispatch" .github/workflows . -g '!**/node_modules/**'

Repository: got-feedBack/feedBack-plugin-fretboard

Length of output: 596


Pin the reusable workflow ref.

@main is mutable, so this CI job can pick up unreviewed changes from got-feedback/.github. Pin it to a commit SHA or immutable release tag instead.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/ci.yml at line 10, The reusable CI workflow reference is
currently using a mutable branch ref, which can change without review. Update
the workflow call in the CI configuration to use an immutable reference instead,
such as a specific commit SHA or release tag, so the reusable workflow remains
stable and reproducible. Locate the external workflow invocation that uses
got-feedback/.github/.github/workflows/reusable-ci.yml and replace the current
ref with a pinned one.

@OmikronApex OmikronApex closed this Jul 7, 2026
@OmikronApex OmikronApex reopened this Jul 7, 2026
@OmikronApex
OmikronApex merged commit cf92671 into main Jul 7, 2026
3 checks passed
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