@@ -21,32 +21,20 @@ jobs:
2121 steps :
2222 - uses : actions/checkout@v4
2323
24- - name : Install Updatecli in the runner
25- uses : updatecli/updatecli-action@1536e372d5f433385f11b5b133b23a9833c510ce # 2.86.0
26-
27- - name : Run Updatecli in Apply mode
28- run : updatecli apply --config .ci/updatecli/updatecli-bump-golang.yml --values .ci/updatecli/values.d/scm.yml
24+ - uses : elastic/oblt-actions/updatecli/run@v1
25+ with :
26+ command : apply --config .ci/updatecli/updatecli-bump-golang.yml --values .ci/updatecli/values.d/scm.yml
27+ version-file : .updatecli-version
2928 env :
3029 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3130
3231 - if : ${{ failure() }}
32+ <<<<<<< HEAD
3333 uses : slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0
34+ =======
35+ uses : elastic/oblt-actions/slack/send@v1
36+ >>>>>>> 58886e60c (deps: use the latest updatecli version and use oblt-actions (#9082))
3437 with :
35- method : chat.postMessage
36- token : ${{ secrets.SLACK_BOT_TOKEN }}
37- payload : |
38- {
39- "channel": "#ingest-notifications",
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- }
51- env :
52- SLACK_MESSAGE : " :traffic_cone: updatecli failed for `${{ github.repository }}@${{ github.ref_name }}`, `@agent-team` please look what's going on <${{ env.JOB_URL }}|here>"
38+ bot-token : ${{ secrets.SLACK_BOT_TOKEN }}
39+ channel-id : " #ingest-notifications"
40+ message : " :traffic_cone: updatecli failed for `${{ github.repository }}@${{ github.ref_name }}`, `@agent-team` please look what's going on <${{ env.JOB_URL }}|here>"
0 commit comments