summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorSignal Linden <signal@lindenlab.com>2023-04-05 15:43:11 -0700
committerGitHub <noreply@github.com>2023-04-05 15:43:11 -0700
commit4042ed9701fcfa42c03fc285a757aa348f800e33 (patch)
treeb665a22a2769d7b1f398359fbd8c9c2f06b24c75 /.github
parentf2a784f0d07ac8bedb4e84f8ce60bfbe513d7dfb (diff)
parent4619805d218cf1cb5a5fb9b32dc5dd4aa913a99a (diff)
Merge pull request #152 from secondlife/SL-19541
SL-19541: Add basic coding standards check
Diffstat (limited to '.github')
-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