Skip to content

Commit 3f252fd

Browse files
authored
action: use elastic/apm-pipeline-library/.github/actions/updatecli (#201)
1 parent 751350b commit 3f252fd

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

.github/workflows/update-specs.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ on:
88
- cron: '0 6 * * *'
99

1010
permissions:
11-
pull-requests: write
12-
contents: write
11+
contents: read
1312

1413
jobs:
1514
bump:
@@ -18,13 +17,9 @@ jobs:
1817

1918
- uses: actions/checkout@v3
2019

21-
- name: Setup Git
22-
uses: elastic/apm-pipeline-library/.github/actions/setup-git@current
23-
24-
- name: Install Updatecli in the runner
25-
uses: updatecli/updatecli-action@453502948b442d7b9a923de7b40cc7ce8628505c
26-
27-
- name: Run Updatecli
28-
env:
29-
GITHUB_TOKEN: ${{ github.token }}
30-
run: updatecli apply --config ./.ci/update-specs.yml
20+
- uses: elastic/apm-pipeline-library/.github/actions/updatecli@current
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

0 commit comments

Comments
 (0)