Describe the bug
Hi there. According to the documentation for "Actions workflow notifications":
You will get notified when a new workflow run is triggered. And you can track the live status of the jobs.
However, this functionality does not work as described.
Steps to Reproduce
Configure notifications using the following command: Subscribe owner/repo workflows:{name:"Test Notifications to Microsoft Teams" branch:"main" event:"workflow_dispatch"}
Start the workflow manually. Here's an example workflow:
name: "Test Notifications to Microsoft Teams"
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Mock long-running job
run: |
echo "Starting a long-running mock job..."
for i in {1..6}; do
echo "Processing step $i/6"
sleep 10 # Simulate a 10-second task for each step
done
echo "Long-running mock job complete."
Expected behavior
A notification should be sent when the workflow starts, with additional updates as the status changes throughout the workflow execution, including when it completes.
Actual behavior
We only receive a notification when the workflow finishes, with no updates during its execution.
Screenshots
Additional context
It is essential to receive notifications when a workflow is triggered, especially in scenarios like manual deployments to the staging environment. The entire team needs to be aware that changes will occur soon. Moreover, timely notifications are crucial when a pipeline gets stuck without throwing an error.
Describe the bug
Hi there. According to the documentation for "Actions workflow notifications":
However, this functionality does not work as described.
Steps to Reproduce
Subscribe owner/repo workflows:{name:"Test Notifications to Microsoft Teams" branch:"main" event:"workflow_dispatch"}
Expected behavior
A notification should be sent when the workflow starts, with additional updates as the status changes throughout the workflow execution, including when it completes.
Actual behavior
We only receive a notification when the workflow finishes, with no updates during its execution.
Screenshots
Additional context
It is essential to receive notifications when a workflow is triggered, especially in scenarios like manual deployments to the staging environment. The entire team needs to be aware that changes will occur soon. Moreover, timely notifications are crucial when a pipeline gets stuck without throwing an error.
Let me know if you need anything else!