We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bc7c7b commit 3d9903fCopy full SHA for 3d9903f
.github/workflows/pre-commit.yml
@@ -0,0 +1,18 @@
1
+name: pre-commit
2
+
3
+on:
4
+ pull_request:
5
+ push:
6
+ branches:
7
+ - main
8
+ - 8.*
9
+ - 9.*
10
11
+permissions:
12
+ contents: read
13
14
+jobs:
15
+ pre-commit:
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - uses: elastic/oblt-actions/pre-commit@v1
.pre-commit-config.yaml
@@ -1,9 +1,10 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v4.0.1
+ rev: v4.6.0
hooks:
- id: check-executables-have-shebangs
exclude: (.*/.*.(ps1|bat|bash)$)
- id: check-shebang-scripts-are-executable
exclude: (.*/.*.(tmpl|tftpl)$)
- id: check-merge-conflict
+ args: ['--assume-in-merge']
0 commit comments