aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorColin Wilk <colin.wilk@tum.de>2023-11-26 20:43:01 +0100
committerColin Wilk <colin.wilk@tum.de>2023-11-26 20:43:01 +0100
commit8cf45473b32c7d01af45e1746f107bd5ee3e8783 (patch)
treee0035343deab86c38171994557daa39471dfa9de /.github
parentfc8b71579a77bc081fc2cf4fce4757d33cc83c45 (diff)
downloadansible-role-borgbackup-8cf45473b32c7d01af45e1746f107bd5ee3e8783.tar.gz
ansible-role-borgbackup-8cf45473b32c7d01af45e1746f107bd5ee3e8783.zip
Add pre-commit actionv1.0.1
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/pre-commit.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
new file mode 100644
index 0000000..fdc7c70
--- /dev/null
+++ b/.github/workflows/pre-commit.yml
@@ -0,0 +1,12 @@
+---
+name: pre-commit
+
+'on': push
+
+jobs:
+ pre-commit:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - uses: actions/setup-python@v3
+ - uses: pre-commit/action@v3.0.0