Skip to content

The Format Code build step fails for PRs from external contributors #3878

Closed

Description

@jamescrosswell

When running CI builds for PRs from external contributors, on a fork of our repo, the Format Code build step fails.

For example, this run against the thisisthekap:br_3876_add_mapping_for_EnableAppHangTrackingV2 branch yields:

Run ./scripts/commit-formatted-code.sh $GITHUB_HEAD_REF
...
error: pathspec 'br_3876_add_mapping_for_EnableAppHangTrackingV2' did not match any file(s) known to git

I assume it's trying to push to a branch on our local repo that doesn't exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETBugRepository Maintenance

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions