From 3f98312cbe7937f5e0dac3fc3f775de2cbc9428e Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Mon, 19 Feb 2024 15:53:56 -0500 Subject: [PATCH] ci: twister status check Generate one single status for all jobs and also report success when twister run is being skipped to be able to make this a required check. Signed-off-by: Anas Nashif --- .github/workflows/twister.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/twister.yaml b/.github/workflows/twister.yaml index a56ce93c42d7a4..bab415528870d3 100644 --- a/.github/workflows/twister.yaml +++ b/.github/workflows/twister.yaml @@ -358,3 +358,12 @@ jobs: check_name: Unit Test Results files: "**/twister.xml" comment_mode: off + twister-status-check: + if: always() + name: "Check Twister Status" + needs: + - twister-build-prep + - twister-build + uses: ./.github/workflows/ready-to-merge.yml + with: + needs_context: ${{ toJson(needs) }}