初始化上传
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
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
This commit is contained in:
19
.github/actions/choose-npm-install/action.yml
vendored
Normal file
19
.github/actions/choose-npm-install/action.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user