Skip to content

fix(smart_holder): keep void-cast semantics in from_unique_ptr #1662

fix(smart_holder): keep void-cast semantics in from_unique_ptr

fix(smart_holder): keep void-cast semantics in from_unique_ptr #1662

Workflow file for this run

name: Read the Docs PR preview

Check warning on line 1 in .github/workflows/docs-link.yml

View workflow run for this annotation

GitHub Actions / Read the Docs PR preview

Workflow execution policy warning (evaluate mode)

On November 2, 2026, GitHub will restrict `pull_request_target` on public repositories by default. To continue allowing the event trigger, configure an Actions policy. Learn more: https://gh.io/securely-using-pull_request_target#default-policy-for-pull_request_target
on:
pull_request_target:
types:
- opened
- synchronize
permissions:
contents: read
pull-requests: write
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
documentation-links:
runs-on: ubuntu-latest
if: github.event.repository.fork == false
steps:
- uses: actions/checkout@v7
- name: Check for docs changes
id: docs_changes
run: |
# Fetch the PR head
git fetch origin pull/${{ github.event.pull_request.number }}/head:pr-head
# Show diff between base (current checkout) and PR head
if git diff --name-only HEAD pr-head | grep -q '^docs/'; then
echo "docs_changed=true" >> "$GITHUB_OUTPUT"
else
echo "docs_changed=false" >> "$GITHUB_OUTPUT"
fi
- uses: readthedocs/actions/preview@v1
if: steps.docs_changes.outputs.docs_changed == 'true'
with:
project-slug: "pybind11"
single-version: "true"