Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ jobs:
needs: [api]
secrets: inherit
with:
state: ${{ needs.api.result }}
workflow_name: BE API
workflow_id: ${{ inputs.id }}
workflow_reusable_name: "run_api_be"
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/notify_slack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,26 @@ on:
description: Name of the report file
type: string
required: true
state:
description: Check state to set
type: string
required: false
default: ""
jobs:
slack_notify:
name: sdp-test-report
runs-on: ubuntu-latest
if: always()
steps:
- name: Set explicitly provided workflow state
if: ${{ inputs.state != '' }}
run: |
echo "WORKFLOW_CONCLUSION=${{ inputs.state }}" >> $GITHUB_ENV
- name: Wait 15s for previous jobs to conclude
if: ${{ inputs.state == '' }}
run: sleep 15
- uses: dpc-sdp/workflow-conclusion-action@main
if: ${{ inputs.state == '' }}
with:
JOB_ID: ${{ inputs.workflow_id }}
REUSABLE_WORKFLOW_NAME: ${{ inputs.workflow_reusable_name }}
Expand Down