File tree Expand file tree Collapse file tree 3 files changed +10
-16
lines changed Expand file tree Collapse file tree 3 files changed +10
-16
lines changed Original file line number Diff line number Diff line change @@ -103,22 +103,18 @@ jobs:
103
103
subject-path : " ${{ github.workspace }}/**/target/*.jar"
104
104
105
105
- if : ${{ success() }}
106
- uses : elastic/apm-pipeline-library/.github/ actions/slack-message@current
106
+ uses :
elastic/oblt- actions/slack/[email protected]
107
107
with :
108
- url : ${{ secrets.VAULT_ADDR }}
109
- roleId : ${{ secrets.VAULT_ROLE_ID }}
110
- secretId : ${{ secrets.VAULT_SECRET_ID }}
111
- channel : " #apm-agent-java"
108
+ bot-token : ${{ secrets.SLACK_BOT_TOKEN }}
109
+ channel-id : " #apm-agent-java"
112
110
message : |
113
111
:runner: [${{ github.repository }}] Release *${{ github.ref_name }}* has been triggered in Buildkite: (<${{ steps.buildkite.outputs.build }}|build>)
114
112
115
113
- if : ${{ failure() }}
116
- uses : elastic/apm-pipeline-library/.github/ actions/slack-message@current
114
+ uses :
elastic/oblt- actions/slack/[email protected]
117
115
with :
118
- url : ${{ secrets.VAULT_ADDR }}
119
- roleId : ${{ secrets.VAULT_ROLE_ID }}
120
- secretId : ${{ secrets.VAULT_SECRET_ID }}
121
- channel : " #apm-agent-java"
116
+ bot-token : ${{ secrets.SLACK_BOT_TOKEN }}
117
+ channel-id : " #apm-agent-java"
122
118
message : |
123
119
:ghost: [${{ github.repository }}] Release *${{ github.ref_name }}* didn't get triggered in Buildkite.
124
120
Build: (<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|here>)
Original file line number Diff line number Diff line change @@ -73,12 +73,10 @@ jobs:
73
73
subject-path : " ${{ github.workspace }}/**/target/*.jar"
74
74
75
75
- if : ${{ failure() }}
76
- uses : elastic/apm-pipeline-library/.github/ actions/slack-message@current
76
+ uses :
elastic/oblt- actions/slack/[email protected]
77
77
with :
78
- url : ${{ secrets.VAULT_ADDR }}
79
- roleId : ${{ secrets.VAULT_ROLE_ID }}
80
- secretId : ${{ secrets.VAULT_SECRET_ID }}
81
- channel : " #apm-agent-java"
78
+ bot-token : ${{ secrets.SLACK_BOT_TOKEN }}
79
+ channel-id : " #apm-agent-java"
82
80
message : |
83
81
:ghost: [${{ github.repository }}] Snapshot *${{ github.ref_name }}* didn't get triggered in Buildkite.
84
82
Build: (<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|here>)
Original file line number Diff line number Diff line change 24
24
GITHUB_TOKEN : ${{ secrets.UPDATECLI_GH_TOKEN }}
25
25
26
26
- if : failure()
27
- uses : elastic/oblt-actions/slack/send@v1
27
+ uses : elastic/oblt-actions/slack/send@v1.2.0
28
28
with :
29
29
bot-token : ${{ secrets.SLACK_BOT_TOKEN }}
30
30
channel-id : " #apm-agent-java"
You can’t perform that action at this time.
0 commit comments