build(deps): bump express from 4.19.2 to 4.21.1 in /client/apps/portal-administration #630
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |