Conversation
…d auto-labeling Co-authored-by: lightsing <15951701+lightsing@users.noreply.github.com>
…e security Co-authored-by: lightsing <15951701+lightsing@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add proper CI checks for pull requests
Add CI workflows for pull requests with path filtering, caching, and auto-labeling
Mar 17, 2026
…y), black (Python) Co-authored-by: lightsing <15951701+lightsing@users.noreply.github.com>
Copilot
AI
changed the title
Add CI workflows for pull requests with path filtering, caching, and auto-labeling
Add CI workflows for PR checks with path filtering, caching, and auto-labeling
Mar 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No CI ran on pull requests. The pre-commit config enforces 5 formatters (
cargo fmt,taplo fmt,forge fmt,prettier,black) but none were checked in CI.CI Workflows
ci-rust.yml): fmt (cargo + taplo), clippy-D warnings, tests. UsesSwatinem/rust-cache@v2. Toolchain version in singleenv.RUST_TOOLCHAINvar.ci-typescript.yml): eslint, prettier, typecheck, build, test. pnpm store cached viaactions/setup-node.ci-contracts.yml):forge fmt --check, build, test. Recursive submodule checkout forlib/deps.ci-python.yml):black --check, ruff, mypy, pytest. Poetry-based install.ci-docs.yml): Vitepress + mdBook build checks in parallel.Path Filtering & Concurrency
Each workflow scopes
on.pull_request.pathsto its language/area so unrelated PRs don't burn CI minutes. All useconcurrencygroups withcancel-in-progress: true.Auto-labeling
actions/labeler@v5onpull_request_targetapplies labels (rust,typescript,python,contracts,docs,ci,dependencies) based on changed paths via.github/labeler.yml.sync-labels: trueremoves stale labels.Security
All workflows set
permissions: contents: read(least-privilege). Labeler adds onlypull-requests: write.💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.