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

Avoid checking out on forks #622

Closed
wants to merge 1 commit into from
Closed

Avoid checking out on forks #622

wants to merge 1 commit into from

Commits on Nov 17, 2024

  1. fix(merge-bot): avoid checking out on forks (#622)

    In the case of PRs from forks, it might be a bad idea to run a check out.
    Remove that.
    
    From docs:
    - GitHub Actions have imposed restrictions on workflow runs triggered by
      public repository forks.
    - Checking out a branch from a different repository from where the workflow
      is executing will make that repository the target.
    
    In short, a 'checkout' can confuse the GitHub API.
    
    Signed-off-by: Claudio André <[email protected]>
    claudioandre-br committed Nov 17, 2024
    Configuration menu
    Copy the full SHA
    03e0b55 View commit details
    Browse the repository at this point in the history