summaryrefslogtreecommitdiff
path: root/.github/workflows/pre-commit.yaml
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2023-09-07 11:15:56 -0400
committerNat Goodspeed <nat@lindenlab.com>2023-09-07 11:15:56 -0400
commitb8e67774397f2878aafc5906845f5f738e00c408 (patch)
tree02ed12e0d5534fbf71f3ab8ce222d7508d73166d /.github/workflows/pre-commit.yaml
parent755f9d9ac9548e27d68ec701676e20c4824833f8 (diff)
parentd454512050e636a19e4b7545515dea4f4b1bbf0d (diff)
SL-18837: Merge branch 'main' into actions
Diffstat (limited to '.github/workflows/pre-commit.yaml')
-rw-r--r--.github/workflows/pre-commit.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/pre-commit.yaml b/.github/workflows/pre-commit.yaml
new file mode 100644
index 0000000000..17c0ace02f
--- /dev/null
+++ b/.github/workflows/pre-commit.yaml
@@ -0,0 +1,18 @@
+name: pre-commit
+
+on:
+ pull_request:
+ push:
+ branches: [main, contribute]
+ tags: [v*]
+
+
+jobs:
+ pre-commit:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - uses: actions/setup-python@v4
+ with:
+ python-version: 3.x
+ - uses: pre-commit/action@v3.0.0