Files
Viper_VSCode/.github/actions/choose-npm-install/action.yml
TermiNexus e9e4693333
Some checks failed
Run mypy_primer on push / Run mypy_primer on push (push) Has been cancelled
Validation / Typecheck (push) Has been cancelled
Validation / Style (push) Has been cancelled
Validation / Test macos-latest (push) Has been cancelled
Validation / Test ubuntu-latest (push) Has been cancelled
Validation / Test windows-latest (push) Has been cancelled
Validation / Build (push) Has been cancelled
Validation / Required (push) Has been cancelled
初始化上传
2026-07-24 17:08:39 +08:00

20 lines
702 B
YAML

# Accessing the CFS feed requires OIDC authentication which is not allowed on branches from forks.
# https://docs.github.com/en/actions/security-for-github-actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
# This action decides whether to use CFS based on the source of the branch in play.
name: npm install (consider using CFS)
on:
workflow_call:
runs:
using: composite
steps:
- name: CFS npm install
if: github.event.pull_request.head.repo.fork != true
uses: ./.github/actions/cfs-npm-install
- name: Standard npm install
if: github.event.pull_request.head.repo.fork == true
uses: ./.github/actions/standard-npm-install