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

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

Open
jamescrosswell opened this issue Jan 8, 2025 · 0 comments
Open

Comments

@jamescrosswell
Copy link
Collaborator

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
Projects
Status: No status
Development

No branches or pull requests

1 participant