diff --git a/docs/src/ci.md b/docs/src/ci.md index 7a08a00b4abdd..97ea4ad8d2447 100644 --- a/docs/src/ci.md +++ b/docs/src/ci.md @@ -432,6 +432,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + # Force a non-shallow checkout, so that we can reference $GITHUB_BASE_REF. + # See https://github.com/actions/checkout for more details. + fetch-depth: 0 - uses: actions/setup-node@v4 with: node-version: 18 @@ -1044,4 +1048,4 @@ xvfb-run mvn test ``` ```bash csharp xvfb-run dotnet test -``` \ No newline at end of file +```