Fix job name in Slack report (#151794)

This commit is contained in:
scripthunter7
2023-05-24 15:38:23 +02:00
committed by GitHub
parent 7aa34d0896
commit 05a1bb2978

View File

@@ -56,10 +56,8 @@ jobs:
with:
status: failure
fields: workflow, repo, message, commit, author, eventName, ref, job
job_name: Run AGLint
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
# Matrix is required if the fields contain job or took
# See https://action-slack.netlify.app/usage/fields/
MATRIX_CONTEXT: ${{ toJson(matrix) }}
if: ${{ env.WORKFLOW_CONCLUSION == 'failure' }}