mirror of
https://github.com/AdguardTeam/AdguardFilters.git
synced 2026-08-29 12:14:41 +00:00
Add job field to Slack report when AGLint fails (#151714)
This commit is contained in:
5
.github/workflows/aglint.yml
vendored
5
.github/workflows/aglint.yml
vendored
@@ -55,8 +55,11 @@ jobs:
|
||||
- uses: 8398a7/action-slack@v3
|
||||
with:
|
||||
status: failure
|
||||
fields: workflow, repo, message, commit, author, eventName, ref
|
||||
fields: workflow, repo, message, commit, author, eventName, ref, job
|
||||
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' }}
|
||||
|
||||
Reference in New Issue
Block a user