Skip to content

Commit

Permalink
chore: use composite updatecli github action (#1341)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Feb 14, 2023
1 parent 998dff6 commit 081623c
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/bump-elastic-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
name: bump-elastic-stack

on:
workflow_dispatch:
schedule:
- cron: '0 15 * * 1-5'

permissions:
pull-requests: write
contents: write
contents: read

jobs:
bump:
Expand All @@ -16,13 +16,9 @@ jobs:

- uses: actions/checkout@v3

- name: Setup Git
uses: elastic/apm-pipeline-library/.github/actions/setup-git@current

- name: Install Updatecli in the runner
uses: updatecli/updatecli-action@453502948b442d7b9a923de7b40cc7ce8628505c

- name: Run Updatecli
env:
GITHUB_TOKEN: ${{ github.token }}
run: updatecli apply --config ./.ci/bump-elastic-stack.yml
- uses: elastic/apm-pipeline-library/.github/actions/updatecli@current
with:
vaultUrl: ${{ secrets.VAULT_ADDR }}
vaultRoleId: ${{ secrets.VAULT_ROLE_ID }}
vaultSecretId: ${{ secrets.VAULT_SECRET_ID }}
pipeline: ./.ci/bump-elastic-stack.yml

0 comments on commit 081623c

Please sign in to comment.