Skip to content

Conversation

@julien-lang
Copy link
Member

No description provided.

@julien-lang julien-lang requested a review from Copilot December 10, 2025 23:40
Copy link

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 updates the Azure Pipelines configuration to replace the existing build pipeline with a code style validation pipeline. The changes remove the dependency on shared CI tools and implement a standalone pre-commit validation workflow.

Key Changes

  • Removed the tk-ci-tools repository reference and associated variable group
  • Created a new code-style-validation.yml job that runs pre-commit hooks
  • Updated the main pipeline to use the new code style validation template

Reviewed changes

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

File Description
azure_pipelines/code-style-validation.yml New pipeline job that installs and runs pre-commit for code style validation
azure_pipelines.yml Removed tk-ci-tools integration and replaced build pipeline with code style validation template

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

displayName: Validate code
inputs:
targetType: inline
script: pre-commit run --all
Copy link

Copilot AI Dec 10, 2025

Choose a reason for hiding this comment

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

The pre-commit command is missing the '--files' flag. The correct command should be 'pre-commit run --all-files' to validate all files in the repository.

Suggested change
script: pre-commit run --all
script: pre-commit run --all-files

Copilot uses AI. Check for mistakes.
- template: build-pipeline.yml@templates
parameters:
has_unit_tests: false
- template: code-style-validation.yml
Copy link

Copilot AI Dec 10, 2025

Choose a reason for hiding this comment

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

The template path is missing the 'azure_pipelines/' directory prefix. It should be 'azure_pipelines/code-style-validation.yml' to correctly reference the new template file.

Suggested change
- template: code-style-validation.yml
- template: azure_pipelines/code-style-validation.yml

Copilot uses AI. Check for mistakes.
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.

2 participants