Skip to content

Commit 2545c47

Browse files
committed
fix: ci's secret
1 parent 486620c commit 2545c47

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/publish-crate.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ jobs:
1919
- name: Checkout code
2020
uses: actions/checkout@v4
2121
with:
22-
token: ${{ secrets.GITHUB_TOKEN }}
22+
token: ${{ secrets.GA_TOKEN }}
23+
fetch-depth: 0
2324

2425
- name: Setup Rust
2526
uses: actions-rs/toolchain@v1

.github/workflows/publish-npm.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ jobs:
1919
- name: Checkout code
2020
uses: actions/checkout@v4
2121
with:
22-
token: ${{ secrets.GITHUB_TOKEN }}
22+
token: ${{ secrets.GA_TOKEN }}
23+
fetch-depth: 0
2324

2425
- name: Setup Node.js
2526
uses: actions/setup-node@v4

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
if: steps.check_tag.outputs.TAG_EXISTS == 'false'
7171
uses: actions/create-release@v1
7272
env:
73-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
73+
GITHUB_TOKEN: ${{ secrets.GA_TOKEN }}
7474
with:
7575
tag_name: v${{ steps.extract_version.outputs.VERSION }}
7676
release_name: v${{ steps.extract_version.outputs.VERSION }}

0 commit comments

Comments
 (0)