Skip to content

Commit 51cd9e4

Browse files
committed
ci fix
1 parent 0c23eff commit 51cd9e4

1 file changed

Lines changed: 8 additions & 26 deletions

File tree

.github/workflows/ci-lint.yml

Lines changed: 8 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ jobs:
2020
with:
2121
fetch-depth: 0
2222

23-
- name: Run GitHub Super-Linter (slim)
24-
uses: github/super-linter/slim@v7
23+
- name: Super-Linter (blacklist)
24+
uses: github/super-linter/slim@v6
2525
env:
2626
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2727
DEFAULT_BRANCH: main
28-
VALIDATE_ALL_CODEBASE: false
29-
VALIDATE_BASH: true
30-
VALIDATE_YAML: true
31-
VALIDATE_JSON: true
32-
VALIDATE_MARKDOWN: true
33-
VALIDATE_DOCKERFILE_HADOLINT: false # we'll run hadolint in a dedicated job
28+
VALIDATE_ALL_CODEBASE: true
29+
30+
# Diese willst du NICHT laufen lassen:
31+
VALIDATE_PYTHON: false
32+
VALIDATE_RUBY: false
33+
VALIDATE_GO: false
3434

3535
hadolint:
3636
name: Dockerfile Lint
@@ -54,21 +54,3 @@ jobs:
5454
if [ "$found" -eq 0 ]; then
5555
echo "No Dockerfiles found"
5656
fi
57-
58-
nginx-test:
59-
name: Validate NGINX config (nginx -t)
60-
runs-on: ubuntu-latest
61-
steps:
62-
- name: Checkout
63-
uses: actions/checkout@v4
64-
- name: Validate NGINX configuration
65-
run: |
66-
set -euo pipefail
67-
# Adjust these paths if your repo structure differs:
68-
CONF_DIR="data/nginx/conf.d"
69-
INCLUDES_DIR="data/nginx/includes"
70-
if [ ! -d "$CONF_DIR" ]; then
71-
echo "::warning::NGINX conf dir '$CONF_DIR' not found. Skipping."
72-
exit 0
73-
fi
74-
docker run --rm -v "$PWD/${CONF_DIR}:/etc/nginx/conf.d:ro" -v "$PWD/${INCLUDES_DIR}:/etc/nginx/conf.d/includes:ro" nginx:1.27-alpine sh -c "nginx -t -T"

0 commit comments

Comments
 (0)