Skip to content

feat: Create electrical heating wheel #26

feat: Create electrical heating wheel

feat: Create electrical heating wheel #26

Workflow file for this run

name: CI orchestrator
on:
pull_request:
branches:
- main
jobs:
#
# License and Markdown Check.
#
ci_base:
uses: Energinet-DataHub/.github/.github/workflows/ci-base.yml@v13
with:
skip_license_check: true
secrets:
dh3serviceaccount_privatekey: ${{ secrets.dh3serviceaccount_privatekey }}
changes:
uses: ./.github/workflows/detect-changes.yml
ci_electrical_heating:
needs: [changes]
if: ${{ needs.changes.outputs.electrical_heating == 'true' }}
uses: ./.github/workflows/ci-electrical-heating.yml
with:
has_electrical_heating_changes: ${{ needs.changes.outputs.electrical_heating == 'true' }}
#
# Branch policy status check
#
allow_merge_ci_orchestrator:
runs-on: ubuntu-latest
needs:
[
changes,
ci_base,
ci_electrical_heating,
]
if: |
always()
steps:
- name: Verify if merge is allowed
run: |
echo "${{ toJSON(needs) }}"
if [[ ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }} = true ]]; then
echo "Failed"
exit 1
fi