Skip to content

Add pre-commit workflow and remove local test hooks - #68

Merged
bybatkhuu merged 1 commit into
mainfrom
dev
Aug 18, 2026
Merged

Add pre-commit workflow and remove local test hooks#68
bybatkhuu merged 1 commit into
mainfrom
dev

Conversation

@bybatkhuu

Copy link
Copy Markdown
Owner

This pull request introduces a new GitHub Actions workflow to automatically run pre-commit checks on pull requests targeting the main and dev branches. It also cleans up the pre-commit configuration by removing commented-out test hooks.

CI/CD Improvements:

  • Added a new workflow file .github/workflows/pre-commit.yml that runs pre-commit checks on pull requests, ensuring code quality and consistency before merging.

Configuration Cleanup:

  • Removed commented-out local test hooks from .pre-commit-config.yaml to simplify and clarify the configuration.

@bybatkhuu bybatkhuu self-assigned this Aug 18, 2026
Copilot AI lite review requested due to automatic review settings August 18, 2026 09:07
@bybatkhuu bybatkhuu added the cicd label Aug 18, 2026
@bybatkhuu
bybatkhuu merged commit 6ec611a into main Aug 18, 2026
2 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds CI enforcement for the repository’s existing pre-commit configuration by introducing a dedicated GitHub Actions workflow that runs on PRs to main and dev, and cleans up the pre-commit config by removing commented-out local test hooks.

Changes:

  • Added .github/workflows/pre-commit.yml to run pre-commit run --all-files on pull requests.
  • Removed commented-out local pytest hooks from .pre-commit-config.yaml.

Reviewed changes

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

File Description
.github/workflows/pre-commit.yml New PR-triggered workflow to run pre-commit checks in CI.
.pre-commit-config.yaml Removes commented-out local test hook configuration.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +18 to +22
- name: Checkout repository
uses: actions/checkout@v7
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
Comment on lines +14 to +17
pre-commit:
name: Run pre-commit checks
runs-on: ubuntu-24.04
steps:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants