Skip to content

Commit

Permalink
action: use elastic/apm-pipeline-library/.github/actions/updatecli
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed Sep 4, 2023
1 parent bd37253 commit b97d5d7
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/bump-opbeans-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ on:
- cron: '0 20 * * 6'

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

jobs:
bump:
Expand All @@ -21,11 +20,9 @@ jobs:
with:
node-version: 14
cache: 'npm'
- 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-opbeans-node.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-opbeans-node.yml

0 comments on commit b97d5d7

Please sign in to comment.