Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Commit

Permalink
ci: Add token for checkout instead
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <[email protected]>
  • Loading branch information
Xuanwo committed Jul 15, 2021
1 parent db37c18 commit b2a2a4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/auto-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.ROBOT_GITHUB_TOKEN }}

- name: Auto build
run: make build
Expand All @@ -33,4 +34,3 @@ jobs:
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Auto build to generate code
token: ${{ secrets.ROBOT_GITHUB_TOKEN }}

0 comments on commit b2a2a4a

Please sign in to comment.