Skip to content

Commit d19d54b

Browse files
authored
Add GitHub notebooks for easier GitHub triage (#7747)
1 parent d16b14d commit d19d54b

File tree

4 files changed

+106
-0
lines changed

4 files changed

+106
-0
lines changed

.github/notebooks/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Github Issue Notebooks
2+
3+
> Important: This is currently a preview feature
4+
5+
You can use GitHub issue notebooks to query GitHub items, such as PRs, issues, milestones etc., across multiple repos.
6+
7+
## Get started
8+
9+
- Make sure you're using [VSCode Insiders](https://code.visualstudio.com/insiders/)
10+
- Install the [GitHub issues notebook](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-github-issue-notebooks) extension
11+
- In VSCode, login to your GitHub account by clicking on the Accounts button located at the bottom left side of the panel.
12+
- [Working with GitHub in VS Code](https://code.visualstudio.com/docs/editor/github)
13+
- Open a `.github-issues` file in VSCode and you should be able to run the queries through the `Run All` button at the top
14+
15+
You can use [this guide](https://docs.github.com/en/search-github/searching-on-github/searching-issues-and-pull-requests) to help you write your own queries
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[
2+
{
3+
"kind": 2,
4+
"language": "github-issues",
5+
"value": "// Functions Host repo\n$REPOS=repo:azure/azure-functions-host repo:azure/azure-functions-core-tools repo:azure/azure-functions-docker repo:azure/azure-functions-dotnet-worker repo:azure/azure-functions-nodejs-worker repo:azure/azure-functions-java-worker repo:azure/azure-functions-python-worker repo:azure/azure-functions-powershell-worker\n\n// Configuration\n$IS_OPEN_ISSUE=is:issue is:open \n$MINE=assignee:@me\n$NOT_MINE=-$MINE\n$TEAM=author:fabiocav author:brettsam author:soninaren author:madelinegordon author:liliankasem author:kashimiz author:kshyju author:satvu author:surgupta-msft"
6+
},
7+
{
8+
"kind": 1,
9+
"language": "markdown",
10+
"value": "# Issues assigned to me"
11+
},
12+
{
13+
"kind": 2,
14+
"language": "github-issues",
15+
"value": "$REPOS $IS_OPEN_ISSUE $MINE"
16+
},
17+
{
18+
"kind": 1,
19+
"language": "markdown",
20+
"value": "# Issues assigned to my team"
21+
},
22+
{
23+
"kind": 2,
24+
"language": "github-issues",
25+
"value": "$REPOS $IS_OPEN_ISSUE $TEAM"
26+
}
27+
]
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
[
2+
{
3+
"kind": 2,
4+
"language": "github-issues",
5+
"value": "// All repos\r\n$REPOS=repo:azure/azure-functions-host repo:azure/azure-functions-core-tools repo:azure/azure-functions-docker repo:azure/azure-functions-dotnet-worker repo:azure/azure-functions-nodejs-worker repo:azure/azure-functions-java-worker repo:azure/azure-functions-python-worker repo:azure/azure-functions-powershell-worker\r\n\r\n// Configuration\r\n$IS_OPEN_PR=is:pr is:open \r\n$AUTHORED_BY=author:@me\r\n$REVIEW_REQUESTED=review-requested:@me\r\n$TEAM=author:fabiocav author:brettsam author:soninaren author:madelinegordon author:liliankasem author:kashimiz author:kshyju author:satvu author:surgupta-msft"
6+
},
7+
{
8+
"kind": 1,
9+
"language": "markdown",
10+
"value": "# PRs created by me"
11+
},
12+
{
13+
"kind": 2,
14+
"language": "github-issues",
15+
"value": "$REPOS $IS_OPEN_PR $AUTHORED_BY"
16+
},
17+
{
18+
"kind": 1,
19+
"language": "markdown",
20+
"value": "# PR Reviews assigned to me"
21+
},
22+
{
23+
"kind": 2,
24+
"language": "github-issues",
25+
"value": "$REPOS $IS_OPEN_PR $REVIEW_REQUESTED"
26+
},
27+
{
28+
"kind": 1,
29+
"language": "markdown",
30+
"value": "# PRs created by my team"
31+
},
32+
{
33+
"kind": 2,
34+
"language": "github-issues",
35+
"value": "$REPOS $IS_OPEN_PR $TEAM"
36+
}
37+
]
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[
2+
{
3+
"kind": 2,
4+
"language": "github-issues",
5+
"value": "$funcHostRepo=repo:azure/azure-functions-host \n$current=milestone:\"Functions Sprint 110\"\n$next=milestone:\"Functions Sprint 111\"\n$user=liliankasem"
6+
},
7+
{
8+
"kind": 1,
9+
"language": "markdown",
10+
"value": "# Current Sprint"
11+
},
12+
{
13+
"kind": 2,
14+
"language": "github-issues",
15+
"value": "$funcHostRepo $current"
16+
},
17+
{
18+
"kind": 1,
19+
"language": "markdown",
20+
"value": "# Next Sprint"
21+
},
22+
{
23+
"kind": 2,
24+
"language": "github-issues",
25+
"value": "$funcHostRepo $next"
26+
}
27+
]

0 commit comments

Comments
 (0)