Skip to content

Enable main workflow on current branch (testing) #1

Enable main workflow on current branch (testing)

Enable main workflow on current branch (testing) #1

Workflow file for this run

name: CI/CD [Main]
on:
push:
branches:
- main
- chore/ui_callable_workflows
paths:
- ".github/workflows/**"
- "Dockerfile"
- "apps/**"
- "packages/**"
# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:

Check failure on line 15 in .github/workflows/main.yaml

View workflow run for this annotation

GitHub Actions / CI/CD [Main]

Invalid workflow file

The workflow is not valid. In CodeForAfrica/ui/.github/workflows/_cd-dev.yaml@06338d7c8b8c5c7219099899c4d02ed45099306d (Line: 15, Col: 11): Error from called workflow CodeForAfrica/ui/.github/workflows/_cd-codeforafrica.yaml@06338d7c8b8c5c7219099899c4d02ed45099306d (Line: 32, Col: 19): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.CODEFORAFRICA_MONGODB_URL

Check failure on line 15 in .github/workflows/main.yaml

View workflow run for this annotation

GitHub Actions / CI/CD [Main]

Invalid workflow file

The workflow is not valid. In CodeForAfrica/ui/.github/workflows/_cd-dev.yaml@06338d7c8b8c5c7219099899c4d02ed45099306d (Line: 15, Col: 11): Error from called workflow CodeForAfrica/ui/.github/workflows/_cd-codeforafrica.yaml@06338d7c8b8c5c7219099899c4d02ed45099306d (Line: 32, Col: 19): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.CODEFORAFRICA_MONGODB_URL
group: "${{ github.workflow }} @ ${{ github.ref }}"
cancel-in-progress: true
jobs:
ci:
name: CI
uses: ./.github/workflows/_ci.yaml
apps-path-filter:
needs:
- ci
name:
uses: ./.github/workflows/_app-path-filter.yaml
cd-dev:
needs:
- apps-path-filter
if: ${{ needs.apps-path-filter.outputs.apps == 'true' }}
uses: ./.github/workflows/_cd-dev.yaml
secrets: inherit
cd-prod:
needs:
- apps-path-filter
if: ${{ needs.apps-path-filter.outputs.apps == 'true' }}
uses: ./.github/workflows/_cd-prod.yaml
secrets: inherit