Skip to content

Commit

Permalink
github-actions: use github secrets (#4006)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Jun 13, 2024
1 parent e5a0d64 commit f292417
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/run-minor-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,8 @@ jobs:
GH_TOKEN: ${{ github.token }}

- if: ${{ failure() }}
uses: elastic/apm-pipeline-library/.github/actions/slack-message@current
uses: elastic/oblt-actions/slack/send@v1
with:
url: ${{ secrets.VAULT_ADDR }}
roleId: ${{ secrets.VAULT_ROLE_ID }}
secretId: ${{ secrets.VAULT_SECRET_ID }}
channel: '#observablt-bots'
bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
channel-id: '#observablt-bots'
message: ":traffic_cone: release automation failed for `${{ github.repository }}@${{ inputs.version }}`, @robots-ci please look what's going on <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|here>"

0 comments on commit f292417

Please sign in to comment.