Skip to content

docs(actions): explain how to allow pull_request_target - #2068

Merged
lizhengfeng101 merged 10 commits into
alibaba:mainfrom
Qiyuanqiii:Qiyuanqiii/docs-actions-event-policy
Nov 24, 2026
Merged

lizhengfeng101 merged 10 commits into
alibaba:mainfrom
Qiyuanqiii:Qiyuanqiii/docs-actions-event-policy

Conversation

@Qiyuanqiii

@Qiyuanqiii Qiyuanqiii commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Description

image

GitHub will block pull_request_target by default in public repositories starting December 2, 2026. GitHub changelog

Document how to create or update an active Actions policy for .github/workflows/ocr-review.yml. The policy allows pull_request_target for automatic reviews when a PR is opened, updated, or reopened, and issue_comment for comment-triggered re-reviews.

This update covers the GitHub Actions example and the CI integration guide in English, Simplified Chinese, Japanese, Korean, Russian, and Turkish.

Type of Change

  • Documentation update

How Has This Been Tested?

  • Matched the instructions to the GitHub Actions policy form.
  • Checked that the three steps in all seven Markdown files cover both triggers in the example workflow.
  • Ran the docs translation-sync check and git diff --check locally.

AI Disclosure

I reviewed and refined the wording and translations.

Pi Agent (GPT-6.2-astra) assisted with drafting and applying review feedback.

@github-actions

Copy link
Copy Markdown
Contributor

✅ OpenCodeReview: Review skipped: no items were selected.

@Qiyuanqiii
Qiyuanqiii marked this pull request as ready for review November 24, 2026 03:41
@Qiyuanqiii
Qiyuanqiii marked this pull request as draft November 24, 2026 03:55
@Qiyuanqiii
Qiyuanqiii marked this pull request as ready for review November 24, 2026 04:23
@Qiyuanqiii
Qiyuanqiii marked this pull request as draft November 24, 2026 06:40
@Qiyuanqiii
Qiyuanqiii marked this pull request as ready for review November 24, 2026 06:52

@lizhengfeng101 lizhengfeng101 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lizhengfeng101
lizhengfeng101 merged commit 4e284aa into alibaba:main Nov 24, 2026
5 checks passed
@Qiyuanqiii
Qiyuanqiii deleted the Qiyuanqiii/docs-actions-event-policy branch November 24, 2026 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants