Skip to content

Commit 7afb677

Browse files
authored
ci(slack): use github-secrets (#213)
1 parent 5ae26d6 commit 7afb677

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,8 @@ jobs:
5656
# Release will result in a notification from the GitHub Slack app
5757
# (assuming '/github subscribe elastic/elastic-otel-node').
5858
if: ${{ failure() }}
59-
uses: elastic/apm-pipeline-library/.github/actions/notify-build-status@current
59+
uses: elastic/oblt-actions/slack/notify-result@v1.7.0
6060
with:
61-
vaultUrl: ${{ secrets.VAULT_ADDR }}
62-
vaultRoleId: ${{ secrets.VAULT_ROLE_ID }}
63-
vaultSecretId: ${{ secrets.VAULT_SECRET_ID }}
64-
slackChannel: "#apm-agent-node"
61+
bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
62+
channel-id: "#apm-agent-node"
6563
message: '[${{ github.repository }}] Release `@elastic/opentelemetry-node` *${{ github.ref_name }}*'
66-

0 commit comments

Comments
 (0)