Skip to content

Commit

Permalink
ci: Add pre-commit action
Browse files Browse the repository at this point in the history
feel free to move to pre-commit.ci
  • Loading branch information
iamsergio committed Jan 20, 2025
1 parent 28cef4d commit 3bb9e7d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# SPDX-FileCopyrightText: 2024 Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]>
#
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only

name: pre-commit

on:
pull_request:
push:
branches:
- main
- 2.2

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: pre-commit/[email protected]

0 comments on commit 3bb9e7d

Please sign in to comment.