Skip to content

Add path-based PR label definitions for the new labeler workflow#46

Merged
JosunLP merged 4 commits intoJosunLP-patch-1from
copilot/sub-pr-45
Mar 12, 2026
Merged

Add path-based PR label definitions for the new labeler workflow#46
JosunLP merged 4 commits intoJosunLP-patch-1from
copilot/sub-pr-45

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 12, 2026

This follow-up wires the new PR labeler workflow to an actual label map. It adds repository-specific path rules and enables matching for .github/** so workflow and template changes can be labeled correctly.

  • Labeler configuration

    • Add .github/labeler.yml with labels aligned to the project structure:
      • module areas: core, reactive, component, motion, platform, router, security, store, view
      • repo areas: docs, playground, tests, build, ci/cd, github
    • Map each label to the corresponding top-level paths and config files.
  • Workflow behavior

    • Update .github/workflows/label.yml to pass dot: true to actions/labeler@v4.
    • This allows label matching for hidden paths such as .github/workflows/**, .github/ISSUE_TEMPLATE/**, and other dotfiles covered by the config.
  • Example

    ci/cd:
      - '.github/workflows/**'
    
    view:
      - 'src/view/**'

This keeps labeling scoped to the repository’s actual module boundaries and contributor-facing project areas, rather than relying on a generic placeholder workflow.


💡 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.

Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Copilot AI changed the title [WIP] Improve documentation and workflow automation for bQuery.js Add path-based PR label definitions for the new labeler workflow Mar 12, 2026
JosunLP added 2 commits March 12, 2026 15:43
Signed-off-by: Jonas Pfalzgraf <info@josunlp.de>
Signed-off-by: Jonas Pfalzgraf <info@josunlp.de>
@JosunLP JosunLP marked this pull request as ready for review March 12, 2026 14:52
Copilot AI review requested due to automatic review settings March 12, 2026 14:52
@JosunLP JosunLP merged commit d502579 into JosunLP-patch-1 Mar 12, 2026
2 checks passed
@JosunLP JosunLP deleted the copilot/sub-pr-45 branch March 12, 2026 14:52
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR wires the repository’s PR labeler workflow to a concrete, repo-specific path-to-label map, including support for matching dotfile paths under .github/**.

Changes:

  • Add .github/labeler.yml defining path-based label rules aligned to the project’s module structure and contributor-facing areas.
  • Update .github/workflows/label.yml to enable dot: true so hidden paths (e.g., .github/workflows/**) can be matched and labeled.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/label.yml Enables dotfile path matching for the labeler action via dot: true.
.github/labeler.yml Introduces the label-to-path mapping used by the workflow to apply labels based on changed files.

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.

3 participants