17 Commits

Author SHA1 Message Date
David Blaikie
93471466be
Document use of skip-precommit-approval label for non-review pull requests (#81053)
Derived from this discussion:
https://discourse.llvm.org/t/prs-without-approvals-muddy-the-waters/76656
2024-02-08 16:41:04 -08:00
David Spickett
3df262f89d
[llvm][Docs] Expand MyFirstTypoFix's post-commit section (#79827)
And link to it from the GitHub guide. Since it fits in the flow of the
former document better, but is of interest to those using the GitHub
specific guide.

This includes some content I wrote for an automated PR comment but I
think is useful to have in a single place to link to instead.

I have removed some details:
* About the waterfall view because it doesn't seem that useful to new
contributors and is likely to just seem like constant chaos given how
many builds are going on.
* The orange bubbles in the console view. I also remember this being the
case but whether it was changed, or the web UI is just not loading
properly, I now see red builds that were red before that commit. So
again, it seems like detail that's not needed for a new contributor.
2024-01-30 09:30:58 +00:00
Tom Stellard
e99edf6bcb
[workflows] Drop the intermediate /branch comment for release workflow (#79481)
We used to support a /branch comment to specify a branch with commits to
backport to the release branch. However, now that we can use pull
requests this is not needed.

This also simplifies the process, because now the cherry-pick job can
create the pull request directly instead of having it split across two
separate jobs.
2024-01-25 13:11:09 -08:00
Mehdi Amini
725a04066a
Update GitHub doc to mention that we accepts user branches for Stacked PRs (#73774)
This isn't yet a guide on how to do stacked PRs.
2023-12-04 18:26:44 -08:00
Alex Bradbury
3dda1040d3
[docs] Advise contributors to check for truncated PR titles (#68021)
GitHub will use the first line of the commit as the title for a
single-commit PR, but truncates it at 72 characters
<https://github.com/orgs/community/discussions/12450>. This truncation
makes the PRs less readable if not manually undone, and even worse, the
truncated form may survive through to commit if "Squash and rebase" is
used in the GitHub web UI. From preparing LLVM Weekly, I've seen this a
number of times and it really does make it more annoying to flick
through commits.

I'm not sure if this is the best place for the guidance, or whether you
get the same behaviour when creating a PR with `gh`, but I'm quite keen
we give a warning of some sort about this behaviour.
2023-10-02 21:13:55 +01:00
Bjorn Pettersson
0bfaed8c61 [Docs][Github] Say '--delete-branch' instead of '--delete' and '--delete branch'
The documentation for how to use "gh pr merge" was broken.
In one place it said '--delete-branch' (which seem to be correct for
that option). But in second place it said '--delete branch' and in a
third place it just said '--delete'.
Make sure '--delete-branch' is used in all three places.
2023-09-25 11:26:31 +02:00
Nick Desaulniers
102715a60e
[Docs][Github] explain how to rectify gh pr merge failure (#66223)
I recently went to merge a PR that had a merge conflict:

    $ gh pr merge --squash --delete-branch
X Pull request #66003 is not mergeable: the merge commit cannot be
cleanly created.
To have the pull request merged after all the requirements have been
met, add the `--auto` flag.
    Run the following to resolve the merge conflicts locally:
gh pr checkout 66003 && git fetch origin main && git merge origin/main

This is how I resolved it; we should recommend this explicitly for
fellow contributors.
2023-09-13 14:03:24 -07:00
Mehdi Amini
9818bf2619 Clariy the GitHub PR doc that a "single commit" is only the expected initial state
Review rounds can add more commits, this addresses a post-merge comment.
2023-09-08 16:32:11 -07:00
Mehdi Amini
6b6312b01d
Aligning the section about pull-request with the gh tools with the section using the web UI (#65795)
This is fairly minor, but start addressing the post-review comments
2023-09-08 12:42:57 -07:00
David Spickett
254847fb14 [llvm][Docs] Fix missing ' in GitHub documentation 2023-09-08 14:51:53 +00:00
Michael Maitland
93cc72be99
[Docs] Add example of making a PR with git and GitHub web interface (#65393)
Some people may not have access to `gh` or may prefer to use `git` and
the GitHub web interface to make a PR. This patch adds an example of
making a PR using this approach.
2023-09-07 09:58:43 -04:00
Tobias Hieta
63b29114f1
[Docs] Update documentation for the new GitHub workflow (#65162)
This adds first version of a GitHub workflow in the documentation and marks some
sections as deprecated. We should clean up these sections ASAP. I was
just keen to get something on the documentation site as soon as
possible.
2023-09-01 16:31:44 -07:00
Paul Robinson
25b51191ff [doc] Fix link typo 2023-06-28 08:27:41 -07:00
Paul Robinson
e469d0d636 [doc] Give better info about forks
Differential Revision: https://reviews.llvm.org/D153884
2023-06-28 07:39:34 -07:00
Tom Stellard
245cb1f7ef docs: Document procedure for updating pull requests
See discussion in #56637.

Reviewed By: ldionne, jhenderson

Differential Revision: https://reviews.llvm.org/D147284
2023-05-12 23:35:11 -07:00
Tom Stellard
ead502454c docs: Document policy around GitHub branches
See discussion in #56643.

Reviewed By: rengolin, jhenderson, ldionne

Differential Revision: https://reviews.llvm.org/D147276
2023-05-04 11:52:24 -07:00
Tom Stellard
9cb0605c0e docs: Update instructions for requesting backports to the release branches
Reviewed By: lattner

Differential Revision: https://reviews.llvm.org/D120974
2022-03-08 16:28:02 -08:00