Repository navigation
Add CI workflow configuration for pull requests and pushes - #6
Conversation
|
There was a problem hiding this comment.
🟡 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
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>
d7290c9 to
0893bb7
Compare
| 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 }}" |
|
|
||
| - name: Test | ||
| if: steps.turbo_ignore.outputs.run_ci == 'true' | ||
| run: pnpm test |
* 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 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 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>
* 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>

This pull request introduces a new GitHub Actions workflow for continuous integration (CI) by adding a
.github/workflows/ci.ymlfile. 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:
main,develop,release/*, andhotfix/*branches, while ignoring changes to documentation, configuration, and script files to reduce unnecessary CI runs.turbo-ignorestep to detect if relevant packages are affected; if not, CI tasks are skipped to save resources.Job setup and execution:
actions/checkoutto fetch the repository.