@slates-integrations/github 0.2.0-rc.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +109 -0
- package/dist/index.js +16 -0
- package/dist/index.js.map +1 -0
- package/dist/package.json +3 -0
- package/dist/sourcemap-register.cjs +1 -0
- package/docs/SPEC.md +431 -0
- package/logo.png +0 -0
- package/package.json +27 -0
- package/slate.json +19 -0
package/README.md
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# <img src="https://provider-logos.metorial-cdn.com/github.png" height="20"> Github
|
|
2
|
+
|
|
3
|
+
Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.
|
|
4
|
+
|
|
5
|
+
## Tools
|
|
6
|
+
|
|
7
|
+
### Comment on Issue
|
|
8
|
+
|
|
9
|
+
Add a comment to an existing issue or pull request. Both issues and pull requests share the same comment API.
|
|
10
|
+
|
|
11
|
+
### Create Commit Status
|
|
12
|
+
|
|
13
|
+
Create a status check on a specific commit. Useful for integrating CI/CD results, deployment status, or other external checks. Also supports reading the combined status of all checks for a given ref.
|
|
14
|
+
|
|
15
|
+
### Create Release
|
|
16
|
+
|
|
17
|
+
Create a new release for a GitHub repository with a tag, name, release notes, and draft/pre-release options. Can automatically generate release notes from commits since the last release.
|
|
18
|
+
|
|
19
|
+
### Create Repository
|
|
20
|
+
|
|
21
|
+
Create a new GitHub repository for the authenticated user or within an organization. Supports initializing with a README, gitignore template, and license.
|
|
22
|
+
|
|
23
|
+
### Get Issue
|
|
24
|
+
|
|
25
|
+
Retrieve detailed information about a specific issue, including its body, comments count, labels, assignees, and milestone.
|
|
26
|
+
|
|
27
|
+
### Get Repository
|
|
28
|
+
|
|
29
|
+
Retrieve detailed information about a GitHub repository including its settings, statistics, and metadata. Use this to inspect a repository's configuration, check its visibility, default branch, language, star/fork counts, and more.
|
|
30
|
+
|
|
31
|
+
### Get User
|
|
32
|
+
|
|
33
|
+
Retrieve a GitHub user's profile. Provide a username to look up any user, or omit it to get the authenticated user's profile.
|
|
34
|
+
|
|
35
|
+
### Star Repository
|
|
36
|
+
|
|
37
|
+
Star or unstar a GitHub repository for the authenticated user.
|
|
38
|
+
|
|
39
|
+
### List Branches
|
|
40
|
+
|
|
41
|
+
List branches in a GitHub repository with optional filtering for protected branches.
|
|
42
|
+
|
|
43
|
+
### List Commits
|
|
44
|
+
|
|
45
|
+
List commits on a repository branch with filtering by SHA, path, author, or date range.
|
|
46
|
+
|
|
47
|
+
### List Issues
|
|
48
|
+
|
|
49
|
+
List issues in a GitHub repository with filtering and sorting options. Filter by state, labels, assignee, milestone, and since date. Note: GitHub's API returns pull requests alongside issues — this tool filters them out.
|
|
50
|
+
|
|
51
|
+
### List Pull Requests
|
|
52
|
+
|
|
53
|
+
List pull requests in a GitHub repository with filtering by state, head/base branch, and sorting options.
|
|
54
|
+
|
|
55
|
+
### List Repositories
|
|
56
|
+
|
|
57
|
+
List repositories for the authenticated user or a specific organization. Supports filtering by type, sorting, and pagination.
|
|
58
|
+
|
|
59
|
+
### Manage Collaborators
|
|
60
|
+
|
|
61
|
+
List, add, or remove collaborators on a GitHub repository. Control access permissions for individual users.
|
|
62
|
+
|
|
63
|
+
### Manage File Content
|
|
64
|
+
|
|
65
|
+
Read, create, update, or delete a file in a GitHub repository. - **read**: Retrieve file contents (decoded from Base64). - **write**: Create or update a file. Provide Base64-encoded content and a commit message. - **delete**: Delete a file. Requires the file's current SHA and a commit message.
|
|
66
|
+
|
|
67
|
+
### Manage Gist
|
|
68
|
+
|
|
69
|
+
Create, read, update, or delete GitHub Gists (code snippets). - **create**: Create a new gist with one or more files. - **get**: Retrieve a gist by ID. - **update**: Update a gist's description or files. - **delete**: Delete a gist. - **list**: List gists for the authenticated user.
|
|
70
|
+
|
|
71
|
+
### Manage Issue
|
|
72
|
+
|
|
73
|
+
Create a new issue or update an existing one in a GitHub repository. When creating: provide title and optionally body, labels, assignees, and milestone. When updating: provide the issue number along with fields to change (title, body, state, labels, assignees).
|
|
74
|
+
|
|
75
|
+
### Manage Labels
|
|
76
|
+
|
|
77
|
+
List existing labels or create a new label in a GitHub repository. Labels can be applied to issues and pull requests for categorization.
|
|
78
|
+
|
|
79
|
+
### Manage Pull Request
|
|
80
|
+
|
|
81
|
+
Create a new pull request or update an existing one. When creating: provide head branch, base branch, and title. When updating: provide the pull request number along with fields to change.
|
|
82
|
+
|
|
83
|
+
### Manage Workflow
|
|
84
|
+
|
|
85
|
+
Interact with GitHub Actions workflows: list workflows, list runs, trigger a workflow dispatch, cancel or rerun a workflow run, and view run jobs.
|
|
86
|
+
|
|
87
|
+
### Merge Pull Request
|
|
88
|
+
|
|
89
|
+
Merge a pull request using the specified merge method (merge commit, squash, or rebase).
|
|
90
|
+
|
|
91
|
+
### Review Pull Request
|
|
92
|
+
|
|
93
|
+
Submit a review on a pull request with an approve, request changes, or comment action. Optionally include inline comments on specific files and lines. Can also request reviewers.
|
|
94
|
+
|
|
95
|
+
### Search GitHub
|
|
96
|
+
|
|
97
|
+
Search across GitHub for repositories, code, issues/pull requests, or users using GitHub's search syntax. Supports qualifiers for filtering (e.g., "language:python stars:>100" for repositories).
|
|
98
|
+
|
|
99
|
+
### Update Repository
|
|
100
|
+
|
|
101
|
+
Update settings of an existing GitHub repository. Modify name, description, visibility, feature toggles (issues, wiki, projects), default branch, and archive status.
|
|
102
|
+
|
|
103
|
+
## License
|
|
104
|
+
|
|
105
|
+
This integration is licensed under the [FSL-1.1](https://github.com/metorial/metorial-platform/blob/dev/LICENSE).
|
|
106
|
+
|
|
107
|
+
<div align="center">
|
|
108
|
+
<sub>Built with ❤️ by <a href="https://metorial.com">Metorial</a></sub>
|
|
109
|
+
</div>
|