ci: require lint and validate before build
This commit is contained in:
@@ -112,6 +112,7 @@ jobs:
|
|||||||
"${manifests[@]}"
|
"${manifests[@]}"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
needs: [lint, validate]
|
||||||
if: github.event_name != 'pull_request' && (github.ref_name == 'main' || github.ref_name == 'dev')
|
if: github.event_name != 'pull_request' && (github.ref_name == 'main' || github.ref_name == 'dev')
|
||||||
runs-on: [self-hosted, linux, arch, homelab]
|
runs-on: [self-hosted, linux, arch, homelab]
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -112,6 +112,7 @@ jobs:
|
|||||||
"${manifests[@]}"
|
"${manifests[@]}"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
needs: [lint, validate]
|
||||||
if: github.event_name != 'pull_request' && (github.ref_name == 'main' || github.ref_name == 'dev')
|
if: github.event_name != 'pull_request' && (github.ref_name == 'main' || github.ref_name == 'dev')
|
||||||
runs-on: [self-hosted, linux, arch, homelab]
|
runs-on: [self-hosted, linux, arch, homelab]
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user