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

Test reverting a PR #6102

Closed
2 tasks done
alexr00 opened this issue Jul 22, 2024 · 1 comment
Closed
2 tasks done

Test reverting a PR #6102

alexr00 opened this issue Jul 22, 2024 · 1 comment

Comments

@alexr00
Copy link
Member

alexr00 commented Jul 22, 2024

Refs: #2103

Complexity: 3

Create Issue


Make sure to install the latest pre-release version of GitHub Pull Requests.

  1. Set your queries so that you can get a merged PR to show. Ex:
	"githubPullRequests.queries": [
...
		{
			"label": "Merged",
			"query": "is:closed is:merged author:${user}"
		},
	],
  1. Open a folder that contains your clone of a GH repo.
  2. From the "Pull Requests" view, expand a merged PR and open the dscription.
  3. In the description, find the "Revert" button and click it.
  4. Verify that a simplified "Create" view opens. Verify that you can set reviewers, assignees, etc., just like on a regular PR.

Note: it would be nice if we showed a diff of the files that will be reverted, but the GitHub API doesn't provide a nice way to get this.

  1. Verify that you can create the revert PR and set it to draft or auto-merge, depending on what your repo supports.
  2. Verify that once the PR is created the description of this new PR is opened.
@meganrogge
Copy link
Contributor

Works great, even when I reload the window 👏

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

No branches or pull requests

3 participants