Merge all changes
This commit is contained in:
@@ -45,7 +45,7 @@ jobs:
|
||||
|
||||
detect-changes:
|
||||
name: Detect Changes
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ${{ vars.LINUX_RUNNER_LABEL || 'ubuntu-latest' }}
|
||||
outputs:
|
||||
has-test-changes: ${{ steps.changes.outputs.tests }}
|
||||
has-schema-changes: ${{ steps.changes.outputs.schema }}
|
||||
@@ -109,7 +109,7 @@ jobs:
|
||||
name: Blast-Radius Validation
|
||||
needs: detect-changes
|
||||
if: needs.detect-changes.outputs.has-test-changes == 'true' || inputs.run_all == true || github.event_name == 'schedule'
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ${{ vars.LINUX_RUNNER_LABEL || 'ubuntu-latest' }}
|
||||
outputs:
|
||||
status: ${{ steps.validate.outputs.status }}
|
||||
violations: ${{ steps.validate.outputs.violation_count }}
|
||||
@@ -156,7 +156,7 @@ jobs:
|
||||
name: Dead-Path Detection
|
||||
needs: detect-changes
|
||||
if: needs.detect-changes.outputs.has-code-changes == 'true' || inputs.run_all == true || github.event_name == 'schedule'
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ${{ vars.LINUX_RUNNER_LABEL || 'ubuntu-latest' }}
|
||||
outputs:
|
||||
status: ${{ steps.detect.outputs.status }}
|
||||
new-paths: ${{ steps.detect.outputs.new_paths }}
|
||||
@@ -213,7 +213,7 @@ jobs:
|
||||
name: Schema Evolution Check
|
||||
needs: detect-changes
|
||||
if: needs.detect-changes.outputs.has-schema-changes == 'true' || inputs.run_all == true
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ${{ vars.LINUX_RUNNER_LABEL || 'ubuntu-latest' }}
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
@@ -274,7 +274,7 @@ jobs:
|
||||
name: Config-Diff Check
|
||||
needs: detect-changes
|
||||
if: needs.detect-changes.outputs.has-config-changes == 'true' || inputs.run_all == true
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ${{ vars.LINUX_RUNNER_LABEL || 'ubuntu-latest' }}
|
||||
outputs:
|
||||
status: ${{ steps.test.outputs.status }}
|
||||
tested-configs: ${{ steps.test.outputs.tested }}
|
||||
@@ -319,7 +319,7 @@ jobs:
|
||||
name: Generate Report
|
||||
needs: [detect-changes, blast-radius, dead-paths, schema-evolution, config-diff]
|
||||
if: always()
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ${{ vars.LINUX_RUNNER_LABEL || 'ubuntu-latest' }}
|
||||
steps:
|
||||
- name: Generate Infrastructure Report
|
||||
run: |
|
||||
@@ -417,7 +417,7 @@ jobs:
|
||||
name: Post PR Comment
|
||||
needs: [report, blast-radius, dead-paths, schema-evolution, config-diff]
|
||||
if: github.event_name == 'pull_request' && always()
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ${{ vars.LINUX_RUNNER_LABEL || 'ubuntu-latest' }}
|
||||
permissions:
|
||||
pull-requests: write
|
||||
steps:
|
||||
@@ -504,3 +504,4 @@ jobs:
|
||||
body: body
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user