aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorColin Wilk <colin.wilk@tum.de>2023-06-01 19:06:41 +0200
committerColin Wilk <colin.wilk@tum.de>2023-06-01 19:06:41 +0200
commitce047c36fe9137fd222f7ae9dc498434794558f1 (patch)
tree094e142b63129ff8494927bd11eae8b8e9481b47 /.github/workflows
parentfd105cf16b712d4db5f9d60e6227b8e917815a4f (diff)
downloadterraform-github-ce047c36fe9137fd222f7ae9dc498434794558f1.tar.gz
terraform-github-ce047c36fe9137fd222f7ae9dc498434794558f1.zip
Add github pre-commit workflow
Signed-off-by: Colin Wilk <colin.wilk@tum.de>
Diffstat (limited to '.github/workflows')
-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