File tree Expand file tree Collapse file tree 1 file changed +9
-27
lines changed
.github/actions/bump-golang Expand file tree Collapse file tree 1 file changed +9
-27
lines changed Original file line number Diff line number Diff line change @@ -32,35 +32,17 @@ runs:
32
32
with :
33
33
ref : ${{ inputs.branch }}
34
34
35
- - name : Install Updatecli in the runner
36
- uses : updatecli/updatecli-action@3a8785d88ec4fa03d86521a181f37c0e74627463 # v2.64.0
37
-
38
- - name : Run Updatecli in Apply mode
39
- run : updatecli ${{ env.COMMAND }} --config ./.github/updatecli.d/
35
+ - uses : elastic/oblt-actions/updatecli/run-and-notify@v1
36
+ with :
37
+ command : ${{ env.COMMAND }} --config ./.github/updatecli.d/
38
+ slack-bot-token : ${{ inputs.slack-bot-token }}
39
+ slack-channel-id : ${{ inputs.slack-channel-id }}
40
+ slack-message : ${{ inputs.slack-message }}
41
+ slack-send-when : " failure"
42
+ # TODO: automate the bump for this version.
43
+ version : v0.81.1
40
44
env :
41
45
COMMAND : ${{ inputs.command }}
42
46
BRANCH : ${{ inputs.branch }}
43
47
GO_MINOR : ${{ inputs.go-minor }}
44
48
GITHUB_TOKEN : ${{ inputs.github-token }}
45
- shell : bash
46
-
47
- - if : ${{ failure() }}
48
- uses : slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e # v1.26.0
49
- with :
50
- channel-id : ${{ inputs.slack-channel-id }}
51
- payload : |
52
- {
53
- "text": "${{ env.SLACK_MESSAGE }}",
54
- "blocks": [
55
- {
56
- "type": "section",
57
- "text": {
58
- "type": "mrkdwn",
59
- "text": "${{ env.SLACK_MESSAGE }}"
60
- }
61
- }
62
- ]
63
- }
64
- env :
65
- SLACK_BOT_TOKEN : ${{ inputs.slack-bot-token }}
66
- SLACK_MESSAGE : ${{ inputs.slack-message }}
You can’t perform that action at this time.
0 commit comments