Skip to content

Not showing the statuses of individual jobs in the Message #55

@TalhaNaeem101

Description

@TalhaNaeem101

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:
image

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:
image

Help is needed on P0, Please do help me achieve this using this workflow ASAP, Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions