-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
Here is the job I wrote for slack notification for github action:
if: always()
name: Post Workflow Status To Slack
needs: squash-merge
runs-on: ubuntu-latest
# actions.read permission is required.
permissions:
actions: 'read'
steps:
- name: Slack Workflow Notification
uses: Gamesight/slack-workflow-status@v1.1.0
with:
# Required Input
repo_token: ${{secrets.GITHUB_TOKEN}}
slack_webhook_url: ${{secrets.SLACK_WEBHOOK_URL}}
include_jobs: 'true'
# Optional Input
channel: '#dps-cicd-flow'
name: 'GitHub Action CI Bot'
icon_emoji: ':squirrel:'
icon_url: 'https://avatars0.githubusercontent.com/u/1701160?s=96&v=4'
And in the notification message it does not show (tick/cross) for succeeded and failed jobs. I am getting this notification in my slack channel:

Ideally, it should show statuses for each individual jobs.
Doc ref: https://github.com/marketplace/actions/slack-workflow-notifications
Ideally, it should show ticks on succeeded jobs and cross on failed jobs like mentioned in their docs:

Help is needed on P0, Please do help me achieve this using this workflow ASAP, Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels