[ci,abi] fix checkout for pull_request_target

This commit is contained in:
akallabeth 2024-02-26 20:31:41 +01:00 committed by akallabeth
parent b791a74e07
commit ff353d8f2f

View File

@ -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)"