Skip to content

test

test #104

name: Pipeline Orchestrator
on:
pull_request:
branches: [main]
permissions:
contents: read
jobs:
pipeline-scan:
uses: ./.github/workflows/pipeline-scan.yml

Check failure on line 12 in .github/workflows/pipeline-orchestrator.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pipeline-orchestrator.yml

Invalid workflow file

error parsing called workflow ".github/workflows/pipeline-orchestrator.yml" -> "./.github/workflows/pipeline-scan.yml" : (Line: 1, Col: 1): Required property is missing: jobs
permissions:
security-events: write
contents: read
actions: read
code-scan:
needs: pipeline-scan
uses: ./.github/workflows/code-scan.yml
permissions:
security-events: write
contents: read
actions: read
secrets-scan:
needs: pipeline-scan
uses: ./.github/workflows/secrets-scan.yml
permissions:
security-events: write
contents: read
actions: read
iac-scan:
needs: pipeline-scan
uses: ./.github/workflows/iac-scan.yml
permissions:
security-events: write
contents: read # only needed for private repos
actions: read # only needed for private repos
ai-review:
needs: pipeline-scan
uses: ./.github/workflows/ai-review.yml
permissions:
contents: read
pull-requests: write
secrets:
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
build-and-container-scan:
needs: [code-scan, secrets-scan]
permissions:
contents: read
security-events: write
actions: read
uses: ./.github/workflows/build-and-container-scan.yml
deploy-infrastructure:
needs: iac-scan
uses: ./.github/workflows/deploy-infrastructure.yml
deploy-application:
needs: [build-and-container-scan, deploy-infrastructure]
uses: ./.github/workflows/deploy-application.yml
runtime-infra-scan:
needs: deploy-application
uses: ./.github/workflows/runtime-infra-scan.yml
with:
environment: ${{ github.ref_name }}
app-url: https://workshop-app-${{ github.ref_name }}.example.com
permissions:
id-token: write
contents: read
secrets:
AWS_IAM_ROLE_ARN: ${{ secrets.AWS_IAM_ROLE_ARN }}
dast:
needs: deploy-application
uses: ./.github/workflows/dast.yml
with:
environment: ${{ github.ref_name }}
app-url: https://workshop-app-${{ github.ref_name }}.example.com
integration-test:
needs: deploy-application
uses: ./.github/workflows/integration-test.yml
with:
environment: ${{ github.ref_name }}
app-url: https://workshop-app-${{ github.ref_name }}.example.com