Skip to content

ci: detect tests for commit scopes, common files#264

Open
sosheskaz wants to merge 2 commits intomainfrom
detect-changes-pr-scope
Open

ci: detect tests for commit scopes, common files#264
sosheskaz wants to merge 2 commits intomainfrom
detect-changes-pr-scope

Conversation

@sosheskaz
Copy link
Contributor

No description provided.

Copy link
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 enhances the CI acceptance test workflow to automatically detect which test suites should run based on conventional commit scopes found in the PR title and commit messages. The workflow now parses commit messages for conventional commit format (e.g., "feat(cks): add feature") and enables test suites matching the scope names.

Changes:

  • Added PR_TITLE environment variable to capture the pull request title
  • Implemented commit scope extraction using sed regex to parse conventional commit format
  • Added logic to detect and enable test suites when their names match commit scopes
  • Added detection of core files that trigger all test suites

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

scotchneat
scotchneat previously approved these changes Mar 3, 2026
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