File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ # This file is part of the tschm/.config-templates repository
2+ # (https://github.com/tschm/.config-templates).
3+ #
4+ # Workflow: Pre-commit
5+ #
6+ # Purpose: This workflow runs pre-commit checks to ensure code quality
7+ # and consistency across the codebase. It helps catch issues
8+ # like formatting errors, linting issues, and other code quality
9+ # problems before they are merged.
10+ #
11+ # Trigger: This workflow runs on every push and on pull requests to main/master
12+ # branches (including from forks)
13+ #
14+ # Components:
15+ # - 🔍 Run pre-commit checks using reusable action
16+
17+ name : " PRE-COMMIT"
18+ permissions :
19+ contents : read
20+
21+ on :
22+ push :
23+ pull_request :
24+ branches : [ main, master ]
25+
26+ jobs :
27+ pre-commit :
28+ runs-on : ubuntu-latest
29+
30+ steps :
31+ - uses : actions/checkout@v5
32+ - uses : actions/setup-python@v6
33+ with :
34+ python-version : ' 3.14'
35+ - uses : pre-commit/action@v3.0.1
You can’t perform that action at this time.
0 commit comments