Skip to content

change: API: rename Key to AppKey #700

change: API: rename Key to AppKey

change: API: rename Key to AppKey #700

name: Update lockfile
on:
workflow_dispatch:
pull_request:
branches:
- main
jobs:
update-lockfile:
if: startsWith(github.head_ref, 'snyk-')
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: Update lockfile
run: |
cd client
yarn install
- name: Check for changes
run: |
if ! git diff --quiet client/yarn.lock; then
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
git add client/yarn.lock
git commit -n -m "chore(snyk): update lockfile"
git push
fi