[ci,abi] fix checkout for pull_request_target
This commit is contained in:
parent
b791a74e07
commit
ff353d8f2f
4
.github/workflows/abi-checker.yml
vendored
4
.github/workflows/abi-checker.yml
vendored
@ -15,6 +15,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
name: "Run ABI checker on ubuntu-latest"
|
||||
steps:
|
||||
- uses: suzuki-shunsuke/get-pr-action@v0.1.0
|
||||
id: pr
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
@ -81,7 +83,7 @@ jobs:
|
||||
chmod +x checker/check-abi
|
||||
echo "GITHUB_BASE_REF=$GITHUB_BASE_REF"
|
||||
echo "GITHUB_HEAD_REF=$GITHUB_HEAD_REF"
|
||||
echo "API_BASE_REF=$API_BASE_REF"
|
||||
echo "API_BASE_REF=${{ inputs.API_BASE_REF }}"
|
||||
echo "HEAD=$(git rev-parse HEAD)"
|
||||
echo "remotes=$(git remote -v)"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user