Skip to content

Commit 8182fb1

Browse files
authored
updatecli: verify commits for golang and beats (#13107)
1 parent aa75f30 commit 8182fb1

5 files changed

Lines changed: 6 additions & 7 deletions

File tree

.ci/bump-golang.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,12 @@ scms:
2323
default:
2424
kind: github
2525
spec:
26-
user: '{{ requiredEnv "GIT_USER" }}'
27-
email: '{{ requiredEnv "GIT_EMAIL" }}'
26+
user: '{{ requiredEnv "GITHUB_ACTOR" }}'
2827
owner: elastic
2928
repository: apm-server
3029
token: '{{ requiredEnv "GITHUB_TOKEN" }}'
31-
username: '{{ requiredEnv "GIT_USER" }}'
3230
branch: main
31+
commitusingapi: true
3332

3433
sources:
3534
minor:

.ci/update-beats.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@ scms:
66
default:
77
kind: github
88
spec:
9-
user: '{{ requiredEnv "GIT_USER" }}'
10-
email: '{{ requiredEnv "GIT_EMAIL" }}'
9+
user: '{{ requiredEnv "GITHUB_ACTOR" }}'
1110
owner: elastic
1211
repository: apm-server
1312
token: '{{ requiredEnv "GITHUB_TOKEN" }}'
14-
username: '{{ requiredEnv "GIT_USER" }}'
1513
branch: '{{ requiredEnv "BRANCH_NAME" }}'
14+
commitusingapi: true
1615

1716
actions:
1817
default:

.github/workflows/bump-elastic-stack.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,3 @@ jobs:
3939
command: '--experimental apply'
4040
env:
4141
BRANCH: ${{ matrix.branch }}
42-
GITHUB_ACTOR: ${{ github.actor }}

.github/workflows/bump-golang.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ jobs:
2121
vaultRoleId: ${{ secrets.VAULT_ROLE_ID }}
2222
vaultSecretId: ${{ secrets.VAULT_SECRET_ID }}
2323
pipeline: ./.ci/bump-golang.yml
24+
command: '--experimental apply'

.github/workflows/update-beats.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
vaultRoleId: ${{ secrets.VAULT_ROLE_ID }}
4040
vaultSecretId: ${{ secrets.VAULT_SECRET_ID }}
4141
pipeline: ./.ci/update-beats.yml
42+
command: '--experimental apply'
4243
- if: failure()
4344
uses: elastic/apm-pipeline-library/.github/actions/notify-build-status@current
4445
with:

0 commit comments

Comments
 (0)