We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f0b17d commit aa68137Copy full SHA for aa68137
.github/workflows/pre-commit.yml
@@ -0,0 +1,19 @@
1
+name: pre-commit
2
+
3
+on:
4
+ pull_request:
5
+ push:
6
+ branches:
7
+ - main
8
+ - 7.*
9
+ - 8.*
10
+ - 9.*
11
12
+permissions:
13
+ contents: read
14
15
+jobs:
16
+ pre-commit:
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - uses: elastic/oblt-actions/pre-commit@v1
.pre-commit-config.yaml
@@ -0,0 +1,8 @@
+repos:
+- repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v4.6.0
+ hooks:
+ - id: check-executables-have-shebangs
+ - id: check-shebang-scripts-are-executable
+ - id: check-merge-conflict
+ args: ['--assume-in-merge']
0 commit comments