mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-12-06 01:40:19 +00:00
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:
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'
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user