File tree Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 5
5
githubConfig :
6
6
kind : github
7
7
spec :
8
- user : ' {{ requiredEnv "GIT_USER" }}'
9
- email : ' {{ requiredEnv "GIT_EMAIL" }}'
8
+ user : ' {{ requiredEnv "GITHUB_ACTOR" }}'
10
9
owner : elastic
11
10
repository : ecs-logging-java
12
11
token : ' {{ requiredEnv "GITHUB_TOKEN" }}'
13
- username : ' {{ requiredEnv "GIT_USER " }}'
12
+ username : ' {{ requiredEnv "GITHUB_ACTOR " }}'
14
13
branch : main
15
14
16
15
actions :
Original file line number Diff line number Diff line change @@ -15,11 +15,17 @@ jobs:
15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
18
- - uses : actions/checkout@v3
18
+ - uses : actions/checkout@v4
19
19
20
- - uses : elastic/apm-pipeline-library/.github/ actions/updatecli@current
20
+ - uses : elastic/oblt- actions/updatecli/run@v1
21
21
with :
22
- vaultUrl : ${{ secrets.VAULT_ADDR }}
23
- vaultRoleId : ${{ secrets.VAULT_ROLE_ID }}
24
- vaultSecretId : ${{ secrets.VAULT_SECRET_ID }}
25
- pipeline : ./.ci/update-specs.yml
22
+ command : " apply --config .ci/update-specs.yml"
23
+ env :
24
+ GITHUB_TOKEN : ${{ secrets.UPDATECLI_GH_TOKEN }}
25
+
26
+ - if : failure()
27
+ uses : elastic/oblt-actions/slack/send@v1
28
+ with :
29
+ bot-token : ${{ secrets.SLACK_BOT_TOKEN }}
30
+ channel-id : " #apm-agent-java"
31
+ message : " :traffic_cone: updatecli failed for `${{ github.repository }}@${{ github.ref_name }}`, @robots-ci please look what's going on <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|here>"
You can’t perform that action at this time.
0 commit comments