Skip to content

Commit db7e466

Browse files
authored
feat(slack-bot): apm-agent-android (#329)
1 parent 4fef98f commit db7e466

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -95,22 +95,18 @@ jobs:
9595
subject-path: "${{ github.workspace }}/**/build/outputs/aar/*.aar"
9696

9797
- if: ${{ success() }}
98-
uses: elastic/apm-pipeline-library/.github/actions/slack-message@current
98+
uses: elastic/oblt-actions/slack/[email protected]
9999
with:
100-
url: ${{ secrets.VAULT_ADDR }}
101-
roleId: ${{ secrets.VAULT_ROLE_ID }}
102-
secretId: ${{ secrets.VAULT_SECRET_ID }}
103-
channel: "#apm-agent-mobile"
100+
bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
101+
channel-id: "#apm-agent-mobile"
104102
message: |
105103
:tada: :rocket: [${{ github.repository }}] Release *${{ github.ref_name }}* has been successful in Buildkite: (<${{ steps.buildkite.outputs.build }}|build>)
106104
107105
- if: ${{ failure() }}
108-
uses: elastic/apm-pipeline-library/.github/actions/slack-message@current
106+
uses: elastic/oblt-actions/slack/[email protected]
109107
with:
110-
url: ${{ secrets.VAULT_ADDR }}
111-
roleId: ${{ secrets.VAULT_ROLE_ID }}
112-
secretId: ${{ secrets.VAULT_SECRET_ID }}
113-
channel: "#apm-agent-mobile"
108+
bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
109+
channel-id: "#apm-agent-mobile"
114110
message: |
115111
:ghost: [${{ github.repository }}] Release *${{ github.ref_name }}* didn't get triggered in Buildkite.
116112
Build: (<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|here>)

0 commit comments

Comments
 (0)