ci: fix type check for manual trigger 2 (#28702)
This commit is contained in:
parent
0fbac0927b
commit
8c7f3fac6c
1 changed files with 1 additions and 1 deletions
2
.github/workflows/_base-type-check.yml
vendored
2
.github/workflows/_base-type-check.yml
vendored
|
|
@ -19,7 +19,7 @@ jobs:
|
|||
with:
|
||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||
script: |
|
||||
const ref = context.payload.pull_request ? context.payload.pull_request.head.sha : github.context.sha;
|
||||
const ref = context.payload.pull_request ? context.payload.pull_request.head.sha : context.sha;
|
||||
const { data: pyprojectContent } = await github.rest.repos.getContent({
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue