Skip to content

Commit 49c6a1b

Browse files
committed
Use sha instead of ref
missed one.
1 parent e891a24 commit 49c6a1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/bot-pr-new.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: actions/checkout@v2
2323
with:
2424
repository: ${{ github.event.client_payload.pull_request.head.repo.full_name }}
25-
ref: ${{ github.event.client_payload.pull_request.head.ref }}
25+
ref: ${{ github.event.client_payload.pull_request.head.sha }}
2626
- name: Fetch base master branch
2727
run: git fetch -u "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY" master:master
2828
- name: Create message

0 commit comments

Comments
 (0)