diff --git a/.github/workflows/Engine-CI-skip.yml b/.github/workflows/Engine-CI-skip.yml index b907ab0..7b2ac46 100644 --- a/.github/workflows/Engine-CI-skip.yml +++ b/.github/workflows/Engine-CI-skip.yml @@ -17,29 +17,7 @@ jobs: steps: - run: echo "No source changes — skipping commitlint" - # Call reusable workflows with all options false so the nested check names - # (e.g. "windows / build-release / build-windows-x64-Release") appear as - # skipped — satisfying both develop's top-level and main's nested required checks. - windows: - uses: ./.github/workflows/windows-build.yml - with: - targetFramework: net10.0 - run_debug: false - run_release: false - run_deploy: false - - macOS: - uses: ./.github/workflows/macOS-build.yml - with: - targetFramework: net10.0 - run_debug: false - run_release: false - run_deploy: false - - linux: - uses: ./.github/workflows/linux-build.yml - with: - targetFramework: net10.0 - run_debug: false - run_release: false - run_deploy: false + ci-passed: + runs-on: ubuntu-latest + steps: + - run: echo "No source changes — CI skipped" diff --git a/.github/workflows/Engine-CI.yml b/.github/workflows/Engine-CI.yml index ed4aa4c..df180ab 100644 --- a/.github/workflows/Engine-CI.yml +++ b/.github/workflows/Engine-CI.yml @@ -66,3 +66,10 @@ jobs: run_debug: ${{ github.event_name == 'pull_request' && github.base_ref == 'develop' || (github.event_name == 'workflow_dispatch' && fromJSON(inputs.run_debug)) }} run_release: ${{ (github.event_name == 'pull_request' && github.base_ref == 'main') || github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && fromJSON(inputs.run_release)) }} run_deploy: ${{ github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && fromJSON(inputs.run_deploy)) }} + + ci-passed: + needs: [windows, macOS, linux] + if: ${{ always() && !failure() && !cancelled() }} + runs-on: ubuntu-latest + steps: + - run: echo "CI passed"