From 2941f4b57f946a54d9c5ed6762d2a93e0a863b1e Mon Sep 17 00:00:00 2001 From: Michael Kubacki Date: Mon, 2 Dec 2024 10:36:51 -0500 Subject: PullRequests.github-issues: Add PR notebook Adds a VS Code GitHub issue notebook that can be used with the VS Code GitHub Issue Notebook Extension to view PR queries on Tianocore repositories. VS Code extension: https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-github-issue-notebooks This is intended to provide a single real-time dashboard that reflects PR status from all Tianocore repositories so users can track their PRs and quickly find PRs that need their attention. To use this, install the VS Code extension and open the file. This can be done in a Web browser at vscode.dev or locally in VS Code. Signed-off-by: Michael Kubacki --- contrib/PullRequests.github-issues | 72 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 contrib/PullRequests.github-issues diff --git a/contrib/PullRequests.github-issues b/contrib/PullRequests.github-issues new file mode 100644 index 0000000000..900ca51160 --- /dev/null +++ b/contrib/PullRequests.github-issues @@ -0,0 +1,72 @@ +[ + { + "kind": 1, + "language": "markdown", + "value": "## Tianocore GitHub Pull Request Dashboard" + }, + { + "kind": 2, + "language": "github-issues", + "value": "// List of tianocore repos to include in results\r\n$repos=repo:tianocore/edk2 repo:tianocore/edk2-platforms repo:tianocore/containers repo:tianocore/edk2-non-osi repo:tianocore/edk2-test repo:tianocore/edk2-basetools repo:tianocore/edk2-libc repo:tianocore/edk2-pytool-library repo:tianocore/edk2-pytool-extensions repo:tianocore/edk2-edkrepo repo:tianocore/edk2-edkrepo-manifest" + }, + { + "kind": 1, + "language": "markdown", + "value": "#### All Open Pull Requests" + }, + { + "kind": 2, + "language": "github-issues", + "value": "$repos is:open type:pr" + }, + { + "kind": 1, + "language": "markdown", + "value": "#### My Open Pull Requests\r\n\r\nDescription: PRs that you have open right now." + }, + { + "kind": 2, + "language": "github-issues", + "value": "$repos is:open type:pr author:@me" + }, + { + "kind": 1, + "language": "markdown", + "value": "#### Pull Requests that Requested My Review\r\n\r\nDescription: PRs that are requesting your review.\r\n\r\n- **You**: Review these as soon as possible." + }, + { + "kind": 2, + "language": "github-issues", + "value": "$repos is:open type:pr review-requested:@me" + }, + { + "kind": 1, + "language": "markdown", + "value": "#### All Approved PRs\r\n\r\nDescription: These are the PRs that have been approved by at least one reviewer.\r\n\r\n- **Maintainers**: Check if they should have the ``push`` label added.\r\n" + }, + { + "kind": 2, + "language": "github-issues", + "value": "$repos is:open type:pr review:approved" + }, + { + "kind": 1, + "language": "markdown", + "value": "#### All Stale PRs\r\n\r\nDescription: PRs that have had no activity in the last 60 days. They will be closed 7 days after being marked stale if no activity occurs. Leaving a comment will mark them as active.\r\n\r\n- **All**: Review this list and determine whether removing the `stale` label is appropriate. If not, leave a comment to mark the PR as active." + }, + { + "kind": 2, + "language": "github-issues", + "value": "$repos is:open is:pr archived:false label:stale" + }, + { + "kind": 1, + "language": "markdown", + "value": "#### All Pull Requests with the Push Label\r\n\r\nDescriptions: PRs that have the `push` label. These PRs are ready to be merged.\r\n\r\n- **Maintainers**: Review these PRs to verify none are \"stuck\" and need further attention to be merged." + }, + { + "kind": 2, + "language": "github-issues", + "value": "$repos is:open is:pr archived:false label:push" + } +] -- cgit