Revision 1b197e4dc6cef0ea09a9ed817a36f5decb778c58 authored by Roman Donchenko on 26 October 2023, 06:39:29 UTC, committed by GitHub on 26 October 2023, 06:39:29 UTC
The job spends about a minute downloading and loading the CVAT server
image, but I don't think it's used at all.
1 parent c19ea38
Raw File
update-yarn-lock.yml
# The purpose of this workflow: update yarn.lock file for PRs that come from Snyk
name: Update yarn.lock file
on:
  pull_request:
    types: ['opened', 'reopened']
    paths:
      - '**/package.json'
      - 'package.json'
    branches:
      - 'develop'

jobs:
  update:
    if: startsWith(github.event.pull_request.head.ref, 'snyk-')
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3

      - uses: actions/setup-node@v3
        with:
            node-version: '16.x'

      - name: Update yarn.lock file
        run: yarn

      - uses: stefanzweifel/git-auto-commit-action@v4.15.2
        with:
          commit_message: Update yarn.lock file
          file_pattern: yarn.lock
back to top