Skip to content

Commit 93e3331

Browse files
Generated commit to update templated files based on rev 46e0e57 in stackabletech/operator-templating repo. (#486)
Triggered by: Manual run triggered by: NickLarsenNZ with message [remove flake8 action, add pre-commit checks]
1 parent 84f8a56 commit 93e3331

File tree

5 files changed

+25
-13
lines changed

5 files changed

+25
-13
lines changed

.github/workflows/pr_pre-commit.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: pre-commit
3+
4+
on:
5+
pull_request:
6+
7+
jobs:
8+
pre-commit:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
12+
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
13+
with:
14+
python-version: '3.12'
15+
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
16+
with:
17+
extra_args: "" # Disable --all-files until we have time to fix druid/stackable/bin/run-druid

.github/workflows/pr_reviewdog.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,6 @@ jobs:
2323
with:
2424
github_token: ${{ secrets.GITHUB_TOKEN }}
2525

26-
flake8:
27-
runs-on: ubuntu-latest
28-
steps:
29-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
30-
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # tag=v5.1.0
31-
with:
32-
python-version: "3.12"
33-
- uses: reviewdog/action-flake8@99c2cfecdbc9111ec223b85b08af0e13a9a098dc # v3.10.0
34-
with:
35-
github_token: ${{ secrets.GITHUB_TOKEN }}
36-
3726
hadolint:
3827
runs-on: ubuntu-latest
3928
steps:

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ repos:
3333
types: [text]
3434
files: \.md(\.j2)*$
3535

36+
- repo: https://github.com/koalaman/shellcheck-precommit
37+
rev: v0.10.0
38+
hooks:
39+
- id: shellcheck
40+
args: ["--severity=info"]
41+
3642
# WARNING (@NickLarsenNZ): Nix users need to install ruff first.
3743
# If you do not, you will need to delete the cached ruff binary shown in the
3844
# error message

renovate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"extends": [
44
"local>stackabletech/.github:renovate-config"
55
],
6-
"ignorePaths": [".github/workflows/build.yml", ".github/workflows/general_daily_security.yml", ".github/workflows/pr_reviewdog.yaml"]
6+
"ignorePaths": [".github/workflows/build.yml", ".github/workflows/general_daily_security.yml", ".github/workflows/pr_pre-commit.yaml", ".github/workflows/pr_reviewdog.yaml"]
77
}

scripts/run_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/usr/bin/env bash
22

3-
./scripts/run-tests $@
3+
./scripts/run-tests "$@"

0 commit comments

Comments
 (0)