Refactor CI (#5060)
* workflows: add docker image scan for CI workflow * enter debug mode * update mod-wsgi dependency * add Trivy image scanner for cvat/ui image * add trivyignore file * update trivyignore file * try scan without trivyignore * remove trivy scanner * add workflow that updates yarn.lock file for PRs from Snyk * remove extra empty lines * revert changes for mod-wsgi version * remove deprecated set-output for workflows * update upload-artifact action * update upload-artifact action * test another github action for getting changed files * fix typo * debug * debug * debug * debug * debug * debug * debug * debug * debug * debug * revert changes for bandit linter * remove debug changes * remove debug changes * remove debug changes * remove debug changes * exit debug modemain
parent
e4e8da281a
commit
4cd43a27c8
@ -0,0 +1,29 @@
|
||||
# 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
|
||||
Loading…
Reference in New Issue