René's URL Explorer Experiment


Title: Replace deprecated `readthedocs/actions/preview` · Issue #587 · python/core-workflow · GitHub

Open Graph Title: Replace deprecated `readthedocs/actions/preview` · Issue #587 · python/core-workflow

X Title: Replace deprecated `readthedocs/actions/preview` · Issue #587 · python/core-workflow

Description: As I was reviewing the python/cpython workflows for security issues, I noticed that documentation-links.yml uses pull_request_target, which is potentially dangerous: https://securitylab.github.com/resources/github-actions-preventing-pwn-...

Open Graph Description: As I was reviewing the python/cpython workflows for security issues, I noticed that documentation-links.yml uses pull_request_target, which is potentially dangerous: https://securitylab.github.com/...

X Description: As I was reviewing the python/cpython workflows for security issues, I noticed that documentation-links.yml uses pull_request_target, which is potentially dangerous: https://securitylab.github.com/...

Opengraph URL: https://github.com/python/core-workflow/issues/587

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Replace deprecated `readthedocs/actions/preview`","articleBody":"As I was reviewing the `python/cpython` workflows for security issues, I noticed that [`documentation-links.yml`](https://github.com/python/cpython/blob/main/.github/workflows/documentation-links.yml#L6) uses `pull_request_target`, which is potentially dangerous:\n* https://securitylab.github.com/resources/github-actions-preventing-pwn-requests/\n* https://github.com/readthedocs/actions/issues/45\n\nThis is apparently required by `readthedocs/actions/preview` in order to edit the first PR message and add the link to the doc preview.\n\nHowever I also noticed that [`readthedocs/actions/preview`](https://github.com/readthedocs/actions?tab=readme-ov-file) is now deprecated and that its README states:\n\n\u003e [!WARNING]  \n\u003e **This action is deprecated and it shouldn't be used.**\n\u003e This feature was included in the Read the Docs application itself.\n\u003e For more information, check [our documentation](https://docs.readthedocs.com/platform/stable/visual-diff.html#show-build-overview-in-pull-requests).\n\nAs an alternative they suggest to connect their GitHub app and use that instead.  Instead of editing the first comment, the app will add a comment which will list and link to changed/added/deleted files.\nNote that [the app](https://about.readthedocs.com/blog/2025/06/announcing-our-github-app-beta/) is still in beta.\n\nIf we switch to the app we can stop using the deprecated action get rid of the `documentation-links.yml` workflow and `pull_request_target` use.\n\nI brought this up to @hugovk attention, and he suggested to try the app on one of the other (smaller) repos first:\n* [ ] [`devguide`](https://github.com/python/devguide/blob/main/.github/workflows/documentation-links.yml): [devguide#1713](https://github.com/python/devguide/pull/1713)\n* [ ] [`peps`](https://github.com/python/peps/blob/1b13e95ea8713f0d90b020e1a7ba4e65de735e06/.github/workflows/documentation-links.yml#L21)\n* [ ] [`python-docs-theme`](https://github.com/python/python-docs-theme/blob/ae83e69a9ce370c9f7f4c27bd37ad5e6536fea76/.github/workflows/documentation-links.yml#L21)\n* [ ] [`docs-community`](https://github.com/python/docs-community/blob/b9aa7830fdc1ea2c29c1f335ec6face1791a1d2e/.github/workflows/documentation-links.yml#L15)\n\nIf it works fine and we are happy with it, we can then update all the other repos (including `cpython`).\n\n* [ ] `cpython`\n\ncc @humitos","author":{"url":"https://github.com/ezio-melotti","@type":"Person","name":"ezio-melotti"},"datePublished":"2025-11-10T12:53:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/587/core-workflow/issues/587"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:728d8c1f-ac45-0dd0-4a67-dfd275ad3842
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEBAE:3244AB:14113B7:1B0644A:6969B23E
html-safe-noncead014f791a123cc7631651f779bd97bc0c9ea49baeefdc8a48a76cc270f6f374
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkFFOjMyNDRBQjoxNDExM0I3OjFCMDY0NEE6Njk2OUIyM0UiLCJ2aXNpdG9yX2lkIjoiNDI0MDA4MzU1OTk2MDM5MjI1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacba23b28925477d08be44285d22f1ca5a8ea306d3dba4d3f8db5d4cd8b1714c85
hovercard-subject-tagissue:3607926439
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/core-workflow/587/issue_layout
twitter:imagehttps://opengraph.githubassets.com/912861fec24295679f63b5595ce09a6bdfb67d0f79b94118e01682683dbea9f7/python/core-workflow/issues/587
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/912861fec24295679f63b5595ce09a6bdfb67d0f79b94118e01682683dbea9f7/python/core-workflow/issues/587
og:image:altAs I was reviewing the python/cpython workflows for security issues, I noticed that documentation-links.yml uses pull_request_target, which is potentially dangerous: https://securitylab.github.com/...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameezio-melotti
hostnamegithub.com
expected-hostnamegithub.com
Noneb23b8fcc855cd29bb04d6c94aafa62d336bf44eefa8229444eecc968cad03aee
turbo-cache-controlno-preview
go-importgithub.com/python/core-workflow git https://github.com/python/core-workflow.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id76080865
octolytics-dimension-repository_nwopython/core-workflow
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id76080865
octolytics-dimension-repository_network_root_nwopython/core-workflow
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release0672399d88424758731ec07fe24509e23bb17fb5
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/core-workflow/issues/587#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcore-workflow%2Fissues%2F587
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcore-workflow%2Fissues%2F587
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcore-workflow
Reloadhttps://github.com/python/core-workflow/issues/587
Reloadhttps://github.com/python/core-workflow/issues/587
Reloadhttps://github.com/python/core-workflow/issues/587
python https://github.com/python
core-workflowhttps://github.com/python/core-workflow
Please reload this pagehttps://github.com/python/core-workflow/issues/587
Notifications https://github.com/login?return_to=%2Fpython%2Fcore-workflow
Fork 59 https://github.com/login?return_to=%2Fpython%2Fcore-workflow
Star 104 https://github.com/login?return_to=%2Fpython%2Fcore-workflow
Code https://github.com/python/core-workflow
Issues 8 https://github.com/python/core-workflow/issues
Pull requests 0 https://github.com/python/core-workflow/pulls
Actions https://github.com/python/core-workflow/actions
Projects 2 https://github.com/python/core-workflow/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/core-workflow/security
Please reload this pagehttps://github.com/python/core-workflow/issues/587
Insights https://github.com/python/core-workflow/pulse
Code https://github.com/python/core-workflow
Issues https://github.com/python/core-workflow/issues
Pull requests https://github.com/python/core-workflow/pulls
Actions https://github.com/python/core-workflow/actions
Projects https://github.com/python/core-workflow/projects
Security https://github.com/python/core-workflow/security
Insights https://github.com/python/core-workflow/pulse
New issuehttps://github.com/login?return_to=https://github.com/python/core-workflow/issues/587
New issuehttps://github.com/login?return_to=https://github.com/python/core-workflow/issues/587
Replace deprecated readthedocs/actions/previewhttps://github.com/python/core-workflow/issues/587#top
infrastructurehttps://github.com/python/core-workflow/issues?q=state%3Aopen%20label%3A%22infrastructure%22
https://github.com/ezio-melotti
https://github.com/ezio-melotti
ezio-melottihttps://github.com/ezio-melotti
on Nov 10, 2025https://github.com/python/core-workflow/issues/587#issue-3607926439
documentation-links.ymlhttps://github.com/python/cpython/blob/main/.github/workflows/documentation-links.yml#L6
https://securitylab.github.com/resources/github-actions-preventing-pwn-requests/https://securitylab.github.com/resources/github-actions-preventing-pwn-requests/
Analyze and document the security implications of pull_request_target trigger readthedocs/actions#45https://github.com/readthedocs/actions/issues/45
readthedocs/actions/previewhttps://github.com/readthedocs/actions?tab=readme-ov-file
our documentationhttps://docs.readthedocs.com/platform/stable/visual-diff.html#show-build-overview-in-pull-requests
the apphttps://about.readthedocs.com/blog/2025/06/announcing-our-github-app-beta/
@hugovkhttps://github.com/hugovk
devguidehttps://github.com/python/devguide/blob/main/.github/workflows/documentation-links.yml
devguide#1713https://github.com/python/devguide/pull/1713
pepshttps://github.com/python/peps/blob/1b13e95ea8713f0d90b020e1a7ba4e65de735e06/.github/workflows/documentation-links.yml#L21
python-docs-themehttps://github.com/python/python-docs-theme/blob/ae83e69a9ce370c9f7f4c27bd37ad5e6536fea76/.github/workflows/documentation-links.yml#L21
docs-communityhttps://github.com/python/docs-community/blob/b9aa7830fdc1ea2c29c1f335ec6face1791a1d2e/.github/workflows/documentation-links.yml#L15
@humitoshttps://github.com/humitos
infrastructurehttps://github.com/python/core-workflow/issues?q=state%3Aopen%20label%3A%22infrastructure%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.