Skip to content

Commit d58e876

Browse files
v1vxrmx
authored andcommitted
feat(slack-bot): use github secrets (elastic#2058)
1 parent 31a189a commit d58e876

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -198,11 +198,9 @@ jobs:
198198
uses: elastic/apm-pipeline-library/.github/actions/check-dependent-jobs@current
199199
with:
200200
needs: ${{ toJSON(needs) }}
201-
- uses: elastic/apm-pipeline-library/.github/actions/notify-build-status@current
202-
if: startsWith(github.ref, 'refs/tags')
201+
- if: startsWith(github.ref, 'refs/tags')
202+
uses: elastic/oblt-actions/slack/[email protected]
203203
with:
204+
bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
205+
channel-id: "#apm-agent-python"
204206
status: ${{ steps.check.outputs.status }}
205-
vaultUrl: ${{ secrets.VAULT_ADDR }}
206-
vaultRoleId: ${{ secrets.VAULT_ROLE_ID }}
207-
vaultSecretId: ${{ secrets.VAULT_SECRET_ID }}
208-
slackChannel: "#apm-agent-python"

0 commit comments

Comments
 (0)