diff --git a/.github/workflows/xtest.yml b/.github/workflows/xtest.yml index bd2154d1..9c2ab9cb 100644 --- a/.github/workflows/xtest.yml +++ b/.github/workflows/xtest.yml @@ -28,6 +28,11 @@ on: type: string default: all description: "The SDK to focus on (go, js, java, all)" + message: + required: false + type: string + default: "" + description: "Message to display in the workflow summary" workflow_call: inputs: platform-ref: @@ -64,6 +69,13 @@ jobs: tag-list: ${{ steps.platform-version-info.outputs.tag-list }} heads: ${{ steps.platform-version-info.outputs.heads }} steps: + - name: Workflow message + if : ${{ inputs.message != '' }} + run: |- + echo "## Workflow message" >> $GITHUB_STEP_SUMMARY + echo "" >> $GITHUB_STEP_SUMMARY + echo "${{ inputs.message }}" >> $GITHUB_STEP_SUMMARY + echo "${{ inputs.message }}" - name: Validate focus-sdk input if : ${{ inputs.focus-sdk != '' }} run: |- @@ -130,6 +142,10 @@ jobs: matrix: platform-tag: ${{ fromJSON(needs.resolve-versions.outputs.tag-list) }} steps: + - name: Workflow message + if : ${{ inputs.message != '' }} + run: |- + echo "${{ inputs.message }}" - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: repository: opentdf/tests