Skip to content

Setup to build a GitHub PR without merging it #893

@fxlb

Description

@fxlb

Currently the GitHub PR are built after a merge with:

git fetch -q origin +refs/pull/<PR_NUMBER>/merge:
git checkout -qf FETCH_HEAD

If there a setup flag to NOT merge the PR, but build the unmodified PR (Similar to the contributor's working directory)?
(Perhaps with: git fetch -q origin +refs/pull/<PR_NUMBER>/head)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions