Skip to content

Add CI workflow configuration for pull requests and pushes - #6

Merged
kcargile merged 4 commits into
developfrom
k/intro-base-ci
Oct 20, 2026
Merged

kcargile merged 4 commits into
developfrom
k/intro-base-ci

Conversation

@kcargile

Copy link
Copy Markdown
Contributor

This pull request introduces a new GitHub Actions workflow for continuous integration (CI) by adding a .github/workflows/ci.yml file. The workflow is designed to run on pull requests and pushes to key branches, efficiently determining whether CI tasks need to run based on which files have changed, and skipping unnecessary runs.

Key additions in the CI workflow:

Workflow triggers and optimization:

  • Configures the CI workflow to run on pull requests and pushes to main, develop, release/*, and hotfix/* branches, while ignoring changes to documentation, configuration, and script files to reduce unnecessary CI runs.
  • Uses a turbo-ignore step to detect if relevant packages are affected; if not, CI tasks are skipped to save resources.

Job setup and execution:

  • Sets up environment with Node.js 24 and pnpm, and uses actions/checkout to fetch the repository.
  • Installs dependencies, runs linting, building, type checking, and tests only if relevant changes are detected.
  • Outputs a summary message when CI checks are skipped due to no relevant changes.

@kcargile kcargile added this to the Initial Release milestone Oct 20, 2026
@kcargile kcargile self-assigned this Oct 20, 2026
Copilot AI balanced review requested due to automatic review settings October 20, 2026 10:50
@kcargile kcargile added the enhancement New feature or request label Oct 20, 2026
@github-project-automation github-project-automation Bot moved this to Todo in OEI Core Oct 20, 2026
@changeset-bot

changeset-bot Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: e5ced9a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@kcargile kcargile moved this from Todo to In Progress in OEI Core Oct 20, 2026

Copilot AI 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.

🟡 Changes recommended

Change detection, Dependabot validation, and concurrency isolation need correction before CI can reliably validate relevant changes.

4 open issues
What changed in this PR

Adds GitHub Actions CI for pull requests and pushes to key branches, with conditional checks intended to avoid unnecessary runs.

Changes:

  • Configures branch/path filters and concurrency controls.
  • Sets up Node.js 24 and pnpm.
  • Gates installation, linting, builds, type checks, and tests on affected-package detection.
File Description
.github/​workflows/​ci.yml Adds CI triggers, environment setup, change detection, and validation steps.

Review effort: Balanced

Comment thread .github/workflows/ci.yml Resolved
Comment thread .github/workflows/ci.yml Resolved
Comment thread .github/workflows/ci.yml Resolved
Comment thread .github/workflows/ci.yml Resolved
Copilot AI balanced review requested due to automatic review settings October 20, 2026 11:11
kcargile and others added 3 commits October 20, 2026 05:15
Signed-off-by: Kristopher Cargile <k@algorythmic.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Kristopher Cargile <k@algorythmic.com>
Update lint task fallback to use dynamic SHA based on event.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Kristopher Cargile <k@algorythmic.com>

Copilot AI 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.

🔵 Needs a closer look

The workflow excludes Dependabot pull requests from all validation, leaving dependency updates unchecked.

No open issues 🎉

4 resolved since last review

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings October 20, 2026 11:16
@kcargile
kcargile merged commit 1f09d92 into develop Oct 20, 2026
1 of 2 checks passed
@kcargile
kcargile deleted the k/intro-base-ci branch October 20, 2026 11:17
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OEI Core Oct 20, 2026

Copilot AI 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.

🟡 Changes recommended

Affected detection targets the root package rather than a valid workspace, preventing the intended skipping behavior.

1 open issue

Review effort: Balanced

Comment thread .github/workflows/ci.yml
shell: bash
run: |
set +e
pnpm dlx turbo-ignore --task=lint --fallback="${{ github.event_name == 'push' && github.event.before || github.event.pull_request.base.sha }}"
Copilot AI balanced review requested due to automatic review settings October 20, 2026 11:21

Copilot AI 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.

🟡 Changes recommended

The test step fails when reached because Jest has no tests and empty suites are not allowed.

2 open issues

Review effort: Balanced

Comment thread .github/workflows/ci.yml

- name: Test
if: steps.turbo_ignore.outputs.run_ci == 'true'
run: pnpm test
kcargile added a commit that referenced this pull request Oct 20, 2026
* Add CI workflow configuration for pull requests and pushes

Signed-off-by: Kristopher Cargile <k@algorythmic.com>

* Update concurrency group for CI workflow

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Kristopher Cargile <k@algorythmic.com>

* Modify lint task fallback in CI workflow

Update lint task fallback to use dynamic SHA based on event.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Kristopher Cargile <k@algorythmic.com>

---------

Signed-off-by: Kristopher Cargile <k@algorythmic.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Kristopher Cargile <k@algorythmic.com>
kcargile added a commit that referenced this pull request Oct 20, 2026
* Add CI workflow configuration for pull requests and pushes

Signed-off-by: Kristopher Cargile <k@algorythmic.com>

* Update concurrency group for CI workflow

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Kristopher Cargile <k@algorythmic.com>

* Modify lint task fallback in CI workflow

Update lint task fallback to use dynamic SHA based on event.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Kristopher Cargile <k@algorythmic.com>

---------

Signed-off-by: Kristopher Cargile <k@algorythmic.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Kristopher Cargile <k@algorythmic.com>
kcargile added a commit that referenced this pull request Oct 20, 2026
* Add CI workflow configuration for pull requests and pushes

Signed-off-by: Kristopher Cargile <k@algorythmic.com>

* Update concurrency group for CI workflow

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Kristopher Cargile <k@algorythmic.com>

* Modify lint task fallback in CI workflow

Update lint task fallback to use dynamic SHA based on event.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Kristopher Cargile <k@algorythmic.com>

---------

Signed-off-by: Kristopher Cargile <k@algorythmic.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Kristopher Cargile <k@algorythmic.com>
kcargile added a commit that referenced this pull request Oct 20, 2026
* intro commit-signing.md (#5)

Signed-off-by: Kristopher Cargile <k@algorythmic.com>

* Update settings and README for improved configuration and clarity

Signed-off-by: Kristopher Cargile <k@algorythmic.com>

* Add Core Publish Readiness Registry and update TOC

Signed-off-by: Kristopher Cargile <k@algorythmic.com>

* Add CI workflow configuration for pull requests and pushes (#6)

* Add CI workflow configuration for pull requests and pushes

Signed-off-by: Kristopher Cargile <k@algorythmic.com>

* Update concurrency group for CI workflow

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Kristopher Cargile <k@algorythmic.com>

* Modify lint task fallback in CI workflow

Update lint task fallback to use dynamic SHA based on event.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Kristopher Cargile <k@algorythmic.com>

---------

Signed-off-by: Kristopher Cargile <k@algorythmic.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Kristopher Cargile <k@algorythmic.com>

* Add tracking for license compliance CI and publish artifact hardening to readiness registry

Signed-off-by: Kristopher Cargile <k@algorythmic.com>

* Update AGENTS.md with comprehensive core-specific guidance and mark CR-001 as complete

Signed-off-by: Kristopher Cargile <k@algorythmic.com>

* Finalize core agent guidance documentation and add GitHub Copilot instructions

Signed-off-by: Kristopher Cargile <k@algorythmic.com>

* Update lint:root script to use prettier for file checks

Signed-off-by: Kristopher Cargile <k@algorythmic.com>

* Revise core publish readiness registry checks

Updated the status and evidence for various checks in the core publish readiness registry. Notable changes include the completion of AGENTS.md and adjustments to biome configuration and TypeScript settings.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Kristopher Cargile <k@algorythmic.com>

* address linter issues in CI

Signed-off-by: Kristopher Cargile <k@algorythmic.com>

* set Jest to passWithNoTests

Signed-off-by: Kristopher Cargile <k@algorythmic.com>

* Fix signing key path in commit-signing.md

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Kristopher Cargile <k@algorythmic.com>

* Revise commit signing command in documentation

Update commit signing instructions for rebase.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Kristopher Cargile <k@algorythmic.com>

* Fix command for checking commit signature

Update command to check commit signature in documentation.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Kristopher Cargile <k@algorythmic.com>

---------

Signed-off-by: Kristopher Cargile <k@algorythmic.com>
Signed-off-by: Kristopher Cargile <k@openendurance.org>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants