ci: centralize lint and security workflows via workflow_call

- Convert Hadolint and CodeQL workflows to reusable workflow_call
- Keep scheduled scans for Dockerfile hygiene and security analysis
- Integrate lint-docker and security-codeql into mark-stable gate
- Rename workflows for consistent lint/security naming

https://chatgpt.com/share/6943b12d-2c84-800f-b63d-68e4d1db6d0a
This commit is contained in:
kevinveenbirkenbach committed 2025-12-18 08:45:38 +01:00
1 parent 36d623b6f6
commit d8fd8448d4
3 files changed
+8 -9

No files matched your search

@@ -9,11 +9,7 @@
name: Hadolint
on:
push:
branches: [ "master" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "master" ]
workflow_call:
schedule:
- cron: '33 10 * * 2'
+6
View File
@@ -11,10 +11,14 @@ on:
jobs:
lint-ansible:
uses: ./.github/workflows/lint-ansible.yml
lint-docker:
uses: ./.github/workflows/lint-docker.yml
lint-python:
uses: ./.github/workflows/lint-python.yml
lint-shell:
uses: ./.github/workflows/lint-shell.yml
security-codeql:
uses: ./.github/workflows/security-codeql.yml
test-code-integration:
uses: ./.github/workflows/test-code-integration.yml
test-code-lint:
@@ -35,6 +39,8 @@ jobs:
needs:
- lint-python
- lint-shell
- lint-docker
- security-codeql
- test-code-integration
- test-code-lint
- test-code-unit
@@ -12,10 +12,7 @@
name: "CodeQL Advanced"
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_call:
schedule:
- cron: '36 9 * * 6'