updating slack message to include run attempt number

Signed-off-by: Felippe Burk <burkf@vmware.com>
This commit is contained in:
Felippe Burk 2023-06-16 14:28:21 -06:00 committed by Pedro Algarvio
parent 4ab503d459
commit 98cb28e04d
2 changed files with 2 additions and 2 deletions

View file

@ -2113,7 +2113,7 @@ jobs:
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Nightly Workflow build result for the ${{ github.ref_name }} branch: ${{ steps.get-workflow-info.outputs.conclusion }}\n${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
"text": "Nightly Workflow build result for the ${{ github.ref_name }} branch: ${{ steps.get-workflow-info.outputs.conclusion }}\n${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\nThis is attempt #${{ github.run_attempt }}"
}
}
]

View file

@ -133,7 +133,7 @@ concurrency:
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Nightly Workflow build result for the ${{ github.ref_name }} branch: ${{ steps.get-workflow-info.outputs.conclusion }}\n${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
"text": "Nightly Workflow build result for the ${{ github.ref_name }} branch: ${{ steps.get-workflow-info.outputs.conclusion }}\n${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\nThis is attempt #${{ github.run_attempt }}"
}
}
]