Skip to content

Commit 27a5014

Browse files
committed
Add a pre-commit action
1 parent fe06b10 commit 27a5014

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/pre-commit.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# SPDX-FileCopyrightText: 2025 SeisSol Group
2+
#
3+
# SPDX-License-Identifier: BSD-3-Clause
4+
# SPDX-LicenseComments: Full text under /LICENSE and /LICENSES/
5+
#
6+
# SPDX-FileContributor: Author lists in /AUTHORS and /CITATION.cff
7+
8+
name: pre-commit
9+
on:
10+
- push
11+
12+
jobs:
13+
pre-commit:
14+
name: pre-commit
15+
runs-on: ubuntu-24.04
16+
steps:
17+
- name: setup-python
18+
uses: actions/setup-python@v6
19+
with:
20+
python-version: '3.11'
21+
22+
- uses: actions/checkout@v5
23+
24+
- uses: pre-commit/action@v3.0.1

0 commit comments

Comments
 (0)