/
githubmirror
/
strapi
Обзор
Документация
Войти
/
githubmirror
/
strapi
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
.github/actions/security/lockfile/action.yml
29 строк
896 B
Ben Irvin
[Feature] Entity Service types (#17799)
30 авг 2023, 10:56
Не верифицирован
30 авг 2023, 10:56
41844c2
Код
Авторство
О чём код?
name: 'Analyze lockfile dependencies' description: 'Parse dependencies from the yarn lockfile and run security tests on them' inputs: path: description: 'Path to the yarn lockfile' required: false default: 'yarn.lock' type: description: 'Lockfile type, either yarn or npm' default: 'yarn' required: false allowedHosts: description: 'Allowed hosts for packages resolution' required: false default: 'https://registry.yarnpkg.com' allowedURLs: description: 'Allowed URLs to enable certain specific resources' required: false default: '' runs: using: 'composite' steps: - run: $GITHUB_ACTION_PATH/script.sh env: LOCKFILE_PATH: ${{ inputs.path }} LOCKFILE_TYPE: ${{ inputs.type }} LOCKFILE_ALLOWED_HOSTS: ${{ inputs.allowedHosts }} LOCKFILE_ALLOWED_URLS: ${{ inputs.allowedURLs }} shell: bash