Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 44 additions & 28 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,52 +12,68 @@

# Rust Soroban contracts — the canonical on-chain API surface.
api:
- "campaign/**"
- "common/**"
- "token-bridge/**"
- "crates/contracts/core/**"
- "crates/contracts/batch-donor/**"
- changed-files:
- any-glob-to-any-file:
- "campaign/**"
- "common/**"
- "token-bridge/**"
- "crates/contracts/core/**"
- "crates/contracts/batch-donor/**"

# Native CLI tooling (`cargo run -p orbitchain-tools -- …`).
cli:
- "crates/tools/**"
- changed-files:
- any-glob-to-any-file:
- "crates/tools/**"

# Frontend / mobile-wallet surfaces (Playwright + wallet integration).
frontend:
- "wallet_connect.html"
- "wallet_connect.js"
- "tests/e2e/**"
- "playwright.config.js"
- changed-files:
- any-glob-to-any-file:
- "wallet_connect.html"
- "wallet_connect.js"
- "tests/e2e/**"
- "playwright.config.js"

# CI / build infrastructure.
ci:
- ".github/workflows/**"
- ".github/*.md"
- ".github/ISSUE_TEMPLATE/**"
- ".cargo/**"
- "rust-toolchain.toml"
- "Cargo.toml"
- "Cargo.lock"
- changed-files:
- any-glob-to-any-file:
- ".github/workflows/**"
- ".github/*.md"
- ".github/ISSUE_TEMPLATE/**"
- ".cargo/**"
- "rust-toolchain.toml"
- "Cargo.toml"
- "Cargo.lock"

# Documentation and reference material.
documentation:
- "docs/**"
- "**/*.md"
- changed-files:
- any-glob-to-any-file:
- "docs/**"
- "**/*.md"

# Persistent / temporary storage backend code paths.
storage:
- "**/storage*.rs"
- "**/backend.rs"
- changed-files:
- any-glob-to-any-file:
- "**/storage*.rs"
- "**/backend.rs"

# Tests / property-based / fuzz harnesses.
testing:
- "**/tests/**"
- "**/*test*.rs"
- "**/proptest-strategies/**"
- "**/fuzz_targets/**"
- "fuzz/**"
- changed-files:
- any-glob-to-any-file:
- "**/tests/**"
- "**/*test*.rs"
- "**/proptest-strategies/**"
- "**/fuzz_targets/**"
- "fuzz/**"

# Security process and security-sensitive code.
security:
- "SECURITY.md"
- "**/security*.rs"
- changed-files:
- any-glob-to-any-file:
- "SECURITY.md"
- "**/security*.rs"
7 changes: 7 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
with:
# Check out the PR head so the labeler reads the config from the
# PR branch, not the base branch. This lets PRs ship their own
# labeler config migrations (e.g. v4 -> v5 schema).
ref: ${{ github.event.pull_request.head.sha }}

- name: Apply labels
uses: actions/labeler@v5
with:
Expand Down
Loading