github-actions: use GH app to deploy my kibana PRs (#195354)

This commit is contained in:
Victor Martinez 2024-10-08 14:35:38 +02:00 committed by GitHub
parent 0a6be076ea
commit a7be9cf44f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,10 +22,11 @@ jobs:
deploy-my-kibana:
if: ${{ github.event.issue.pull_request && github.event.comment.body == '/oblt-deploy' }}
runs-on: ubuntu-latest
permissions:
# if you listen for PRs, use this to use some comment reactions
pull-requests: write
steps:
- uses: elastic/apm-pipeline-library/.github/actions/deploy-my-kibana@current
- uses: elastic/oblt-actions/oblt-cli/deploy-my-kibana@v1
with:
vaultUrl: ${{ secrets.OBLT_VAULT_ADDR }}
vaultRoleId: ${{ secrets.OBLT_VAULT_ROLE_ID }}
vaultSecretId: ${{ secrets.OBLT_VAULT_SECRET_ID }}
serverless: false
github-app-id: ${{ secrets.OBS_AUTOMATION_APP_ID }}
github-app-private-key: ${{ secrets.OBS_AUTOMATION_APP_PEM }}