File tree 1 file changed +16
-1
lines changed
1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,26 @@ jobs:
28
28
run : updatecli apply --config .github/updatecli-bump-golang.yml
29
29
env :
30
30
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
31
+ GIT_USER : " github-actions[bot]"
32
+ GIT_EMAIL : " 41898282+github-actions[bot]@users.noreply.github.com"
31
33
32
34
- if : ${{ failure() }}
33
35
uses : slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e # v1.26.0
34
36
with :
35
37
channel-id : ' #ingest-notifications'
36
- payload : " :traffic_cone: updatecli failed for `${{ github.repository }}@${{ github.ref_name }}`, `@agent-team` please look what's going on <${{ env.JOB_URL }}|here>"
38
+ payload : |
39
+ {
40
+ "text": "${{ env.SLACK_MESSAGE }}",
41
+ "blocks": [
42
+ {
43
+ "type": "section",
44
+ "text": {
45
+ "type": "mrkdwn",
46
+ "text": "${{ env.SLACK_MESSAGE }}"
47
+ }
48
+ }
49
+ ]
50
+ }
37
51
env :
38
52
SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }}
53
+ SLACK_MESSAGE : " :traffic_cone: updatecli failed for `${{ github.repository }}@${{ github.ref_name }}`, `@agent-team` please look what's going on <${{ env.JOB_URL }}|here>"
You can’t perform that action at this time.
0 commit comments