Skip to content

Commit 2d55ce2

Browse files
committed
fix(ci): add provenance fallback for tlog conflicts
1 parent 8dbcf68 commit 2d55ce2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ jobs:
9494
working-directory: server
9595
env:
9696
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
97-
run: npm publish --access public --provenance
97+
# Note: If provenance fails due to tlog conflict (409), retry without provenance
98+
run: npm publish --access public --provenance || npm publish --access public
9899

99100
- name: Trigger gemini-prompts dependency update
100101
if: success()

0 commit comments

Comments
 (0)