diff --git a/README.md b/README.md index e9a2d2d..379a3dd 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ steps: tdx-secret: ${{ secrets.TDX_SECRET }} action-version: v1.0 tdx-request-id: 111 + tdx-flow-id: 253422cd-fa19-4362-86ef-983fab35eb53 tdx-action: close_request tdx-input1: "" github-token: ${{ secrets.GITHUB_TOKEN }} @@ -32,6 +33,7 @@ steps: tdx-secret: ${{ secrets.TDX_SECRET }} action-version: v1.0 tdx-request-id: 112 + tdx-flow-id: 253422cd-fa19-4362-86ef-983fab35eb53 tdx-action: update_request_variable_and_close_request tdx-input1: resource_url tdx-input2: http://some.resource.url diff --git a/action.yaml b/action.yaml index a159aa0..292bca5 100644 --- a/action.yaml +++ b/action.yaml @@ -40,6 +40,11 @@ inputs: - add_comment_and_notify - close_request - update_request_variable_and_close_request + tdx-flow-id: + type: string + title: TDx Flow ID (iPaaS) + description: The ID of the TDx flow to use (iPaaS flow) + required: true # Usage: # The inputs to use for the TDx action. The inputs are @@ -90,7 +95,7 @@ runs: TDX_ACCOUNT_ID: ${{ inputs.tdx-account-id }} TDX_SECRET: ${{ inputs.tdx-secret }} run: | - ARGS="--request_id ${{ inputs.tdx-request-id }}" + ARGS="--request_id ${{ inputs.tdx-request-id }} --flow_id ${{ inputs.tdx-flow-id }}" if [[ "${{ inputs.tdx-action }}" == "add_comment_and_notify" ]]; then ARGS="${ARGS} add_comment_and_notify --comment \"${{ inputs.tdx-input1 }}\"" elif [[ "${{ inputs.tdx-action }}" == "update_request_variable_and_close_request" ]]; then