You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -19,12 +19,14 @@ These are one time installations required to be able to test your changes locall
19
19
20
20
##Submitting a pull request
21
21
22
+
>**Important**: Please open your pull request against the`next` branch, not`main`. The`next` branch is where we integrate new features and changes before they are merged to`main`.
23
+
22
24
1.[Fork][fork] and clone the repository
23
25
1. Make sure the tests pass on your machine:`go test -v ./...`
24
26
1. Make sure linter passes on your machine:`golangci-lint run`
25
27
1. Create a new branch:`git checkout -b my-branch-name`
26
28
1. Make your change, add tests, and make sure the tests and linter still pass
27
-
1. Push to your fork and[submit a pull request][pr]
29
+
1. Push to your fork and[submit a pull request][pr] targeting the`next` branch
28
30
1. Pat yourself on the back and wait for your pull request to be reviewed and merged.
29
31
30
32
Here are a few things you can do that will increase the likelihood of your pull request being accepted:
Copy file name to clipboardExpand all lines: README.md
+49-10Lines changed: 49 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -426,12 +426,18 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
426
426
427
427
##Tools
428
428
429
-
###Users
429
+
<details>
430
+
431
+
<summary>Context</summary>
430
432
431
433
-**get_me** - Get details of the authenticated user
432
434
- No parameters required
433
435
434
-
###Issues
436
+
</details>
437
+
438
+
<details>
439
+
440
+
<summary>Issues</summary>
435
441
436
442
-**get_issue** - Gets the contents of an issue within a repository
437
443
@@ -499,8 +505,11 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
499
505
-`issueNumber`: Issue number (number, required)
500
506
-_Note_: This tool can help with creating a Pull Request with source code changes to resolve the issue. More information can be found at[GitHub Copilot documentation](https://docs.github.com/en/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/about-assigning-tasks-to-copilot)
501
507
508
+
</details>
502
509
503
-
###Pull Requests
510
+
<details>
511
+
512
+
<summary>Pull Requests</summary>
504
513
505
514
-**get_pull_request** - Get details of a specific pull request
506
515
@@ -640,7 +649,11 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
640
649
-`pullNumber`: Pull request number (number, required)
641
650
-_Note_: Currently, this tool will only work for github.com
642
651
643
-
###Repositories
652
+
</details>
653
+
654
+
<details>
655
+
656
+
<summary>Repositories</summary>
644
657
645
658
-**create_or_update_file** - Create or update a single file in a repository
646
659
-`owner`: Repository owner (string, required)
@@ -735,7 +748,11 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
735
748
-`page`: Page number (number, optional)
736
749
-`perPage`: Results per page (number, optional)
737
750
738
-
###Users
751
+
</details>
752
+
753
+
<details>
754
+
755
+
<summary>Users</summary>
739
756
740
757
-**search_users** - Search for GitHub users
741
758
-`q`: Search query (string, required)
@@ -744,7 +761,11 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
744
761
-`page`: Page number (number, optional)
745
762
-`perPage`: Results per page (number, optional)
746
763
747
-
###Actions
764
+
</details>
765
+
766
+
<details>
767
+
768
+
<summary>Actions</summary>
748
769
749
770
-**list_workflows** - List workflows in a repository
750
771
@@ -848,7 +869,11 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
848
869
-`repo`: Repository name (string, required)
849
870
-`run_id`: Workflow run ID (number, required)
850
871
851
-
###Code Scanning
872
+
</details>
873
+
874
+
<details>
875
+
876
+
<summary>Code Scanning</summary>
852
877
853
878
-**get_code_scanning_alert** - Get a code scanning alert
854
879
@@ -864,7 +889,11 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
864
889
-`severity`: Alert severity (string, optional)
865
890
-`tool_name`: The name of the tool used for code scanning (string, optional)
866
891
867
-
###Secret Scanning
892
+
</details>
893
+
894
+
<details>
895
+
896
+
<summary>Secret Scanning</summary>
868
897
869
898
-**get_secret_scanning_alert** - Get a secret scanning alert
870
899
@@ -879,7 +908,11 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
879
908
-`secret_type`: The secret types to be filtered for in a comma-separated list (string, optional)
880
909
-`resolution`: The resolution status (string, optional)
881
910
882
-
###Notifications
911
+
</details>
912
+
913
+
<details>
914
+
915
+
<summary>Notifications</summary>
883
916
884
917
-**list_notifications** – List notifications for a GitHub user
885
918
-`filter`: Filter to apply to the response (`default`,`include_read_notifications`,`only_participating`)
@@ -911,9 +944,13 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
911
944
-`repo`: The name of the repository (string, required)
912
945
-`action`: Action to perform:`ignore`,`watch`, or`delete` (string, required)
913
946
947
+
</details>
948
+
914
949
##Resources
915
950
916
-
###Repository Content
951
+
<details>
952
+
953
+
<summary>Repository Content</summary>
917
954
918
955
-**Get Repository Content**
919
956
Retrieves the content of a repository at a specific path.
@@ -964,6 +1001,8 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
964
1001
-`prNumber`: Pull request number (string, required)
965
1002
-`path`: File or directory path (string, optional)
966
1003
1004
+
</details>
1005
+
967
1006
##Library Usage
968
1007
969
1008
The exported Go API of this module should currently be considered unstable, and subject to breaking changes. In the future, we may offer stability; please file an issue if there is a use case where this would be valuable.