CI(GitHub Actions): --no-git-checks
Summary: ``` ERR_PNPM_GIT_UNKNOWN_BRANCH The Git HEAD may not attached to any branch, but your "publish-branch" is set to "master|main". If you want to disable Git checks on publish, set the "git-checks" setting to "false", or run again with "--no-git-checks". Error: Process completed with exit code 1. ``` Signed-off-by: Yongmin Hong <revi@omglol.email> Test Plan: Land and push tag again. Reviewers: O1 revi & automations, revi Reviewed By: O1 revi & automations, revi Differential Revision: https://issuetracker.revi.xyz/D636
This commit is contained in:
parent
00da98d2b7
commit
1c5bfa8702
1 changed files with 2 additions and 2 deletions
4
.github/workflows/npm-pub.yml
vendored
4
.github/workflows/npm-pub.yml
vendored
|
@ -30,7 +30,7 @@ jobs:
|
|||
- name: 'Install dependencies'
|
||||
run: pnpm install
|
||||
- name: 'Publish to npm'
|
||||
run: pnpm publish --provenance --access public
|
||||
run: pnpm publish --provenance --access public --no-git-checks
|
||||
working-directory: './npm/eslint-config'
|
||||
env:
|
||||
NPM_CONFIG_PROVENANCE: true
|
||||
|
@ -58,7 +58,7 @@ jobs:
|
|||
- name: 'Install dependencies'
|
||||
run: pnpm install
|
||||
- name: 'Publish to npm'
|
||||
run: pnpm publish --provenance --access public
|
||||
run: pnpm publish --provenance --access public --no-git-checks
|
||||
working-directory: './npm/prettier-config'
|
||||
env:
|
||||
NPM_CONFIG_PROVENANCE: true
|
||||
|
|
Loading…
Reference in a new issue