File tree Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Original file line number Diff line number Diff line change 27
27
owner : elastic
28
28
repository : apm-server
29
29
token : ' {{ requiredEnv "GITHUB_TOKEN" }}'
30
- branch : main
30
+ branch : ' {{ requiredEnv "GITHUB_BRANCH" }} '
31
31
commitusingapi : true
32
32
33
33
sources :
Original file line number Diff line number Diff line change 21
21
command : --experimental apply --config .ci/bump-golang.yml
22
22
env :
23
23
GITHUB_TOKEN : ${{ secrets.UPDATECLI_GH_TOKEN }}
24
+ GITHUB_BRANCH : ' main'
24
25
25
- - if : ${{ failure() }}
26
+ bump-7 :
27
+ runs-on : ubuntu-latest
28
+ steps :
29
+
30
+ - uses : actions/checkout@v4
31
+
32
+ -
uses :
elastic/oblt-actions/updatecli/[email protected]
33
+ with :
34
+ command : --experimental apply --config .ci/bump-golang.yml
35
+ env :
36
+ GITHUB_TOKEN : ${{ secrets.UPDATECLI_GH_TOKEN }}
37
+ GITHUB_BRANCH : ' 7.17'
38
+
39
+ notify :
40
+ runs-on : ubuntu-latest
41
+ needs : [bump, bump-7]
42
+ if : always()
43
+ steps :
44
+ - id : check
45
+ uses : elastic/apm-pipeline-library/.github/actions/check-dependent-jobs@current
46
+ with :
47
+ needs : ${{ toJSON(needs) }}
48
+ - if : ${{ steps.check.outputs.isSuccess == 'false' }}
26
49
uses :
elastic/oblt-actions/slack/[email protected]
27
50
with :
28
51
bot-token : ${{ secrets.SLACK_BOT_TOKEN }}
You can’t perform that action at this time.
0 commit comments