Skip to content

Commit 82e676e

Browse files
authored
Fix bot action ci yaml fie (apache#395)
Signed-off-by: xiaolong.ran <[email protected]> ### Motivation Currently, when run the bot ci, the error as follows: ``` Run zymap/[email protected] with: repo_owner: apache repo_name: pulsar-client-go rerun_cmd: rerun failure checks comment: rerun failure checks env: GITHUB_TOKEN: *** Error: HttpError: No commit found for SHA: xiaolong/test-bot ``` ### Modifications Fix bot action ci yaml file
1 parent c961ad0 commit 82e676e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/bot.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ jobs:
99

1010
steps:
1111
- uses: actions/checkout@v2
12-
12+
with:
13+
ref: ${{ github.event.pull_request.head.sha }}
1314
- name: Bot actions
14-
uses: zymap/[email protected].0
15+
uses: zymap/[email protected].1
1516
env:
1617
GITHUB_TOKEN: ${{ secrets.GO_CLIENT_BOT_TOKEN }}
1718
with:

0 commit comments

Comments
 (0)