Skip to content

fixed user-list format #29

fixed user-list format

fixed user-list format #29

Workflow file for this run

name: Slack Notification of CI Status
on:
push:
branches: ["main", "feature/raisa-cicd"]
pull_request:
branches: ["main"]
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} # This works BUT it shows up as problem for some unknown reason ("Context access might be invalid: NPM_TOKEN") and there should not be any errors
# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
jobs:
slackNotification:
runs-on: ubuntu-latest
name: Slack CI status - notify on failure
steps:
- name: Slack Notify on Failure
if: ${{ failure() }}
id: slack
uses: slackapi/[email protected]
with:
channel-id: 'C067F896WG5'
slack-message: "Github CI Result: ${{ job.status }}\nGithub PR/Commit URL: ${{ github.event.pull_request.html_url || github.event.head_commit.url }}"
# https://github.com/slackapi/slack-github-action