-
Notifications
You must be signed in to change notification settings - Fork 470
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GitHub Action: 删除
actions/checkout
多余的token
设置, 使用GraphQL Api
提交不需要
使用`GraphQL Api`提交不需要设置`actions/checkout`中的`token`为`PAT`令牌, 来绕过分支保护规则
- Loading branch information
Showing
2 changed files
with
2 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,9 +6,8 @@ jobs: | |
build-deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.CI_GITHUB_TOKEN }} # 要绕过分支保护规则此处不可少 | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Generate Contributors Images | ||
uses: jaywcjlove/[email protected] | ||
|