Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Treat PRs with agit flow as fork PRs when triggering actions. (#23884) #23967

Merged
merged 3 commits into from
Apr 7, 2023
Merged

Treat PRs with agit flow as fork PRs when triggering actions. (#23884) #23967

merged 3 commits into from
Apr 7, 2023

Commits on Apr 7, 2023

  1. Treat PRs with agit flow as fork PRs when triggering actions. (#23884)

    There is no fork concept in agit flow, anyone with read permission can
    push `refs/for/<target-branch>/<topic-branch>` to the repo. So we should
    treat it as a fork pull request because it may be from an untrusted
    user.
    wolfogre committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    cea9d4e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d1850ee View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7afdb79 View commit details
    Browse the repository at this point in the history