summaryrefslogtreecommitdiff
path: root/.github/workflows/pre-commit.yaml
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-08-24 07:37:50 +0800
committerErik Kundiman <erik@megapahit.org>2023-08-24 07:37:50 +0800
commit7f354c70ba623b591c36dadd0f6616b349be4fc7 (patch)
tree67557a9981877e6e4b1f08937dfde94e6287dc61 /.github/workflows/pre-commit.yaml
parent5b9cb5bba3c12b1b5c86ba56d43ccf06b83edc14 (diff)
parent33e0766ee08cccb480675a75d83b3a6e78849906 (diff)
Merge tag '6.6.14-release'
source for viewer 6.6.14.581101
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