GitHub provides hosting for software development and version control using Git. It offers the distributed version control and source code management (SCM) functionality of Git, access control and several collaboration features such as bug tracking, feature requests, task management, and wikis for every project.
You can find authentication information for this node here.
- Create a new file in repository.
- Delete a file in repository.
- Edit a file in repository.
- Get the data of a single file.
- List contents of a folder.
- Create a new issue.
- Create a new comment on an issue.
- Edit an issue.
- Get the data of a single issue.
- Lock an issue.
- Get the data of a single repository.
- Returns the contents of the repository's license file, if one is detected.
- Returns issues of a repository.
- Get the community profile of a repository with metrics, health score, description, license, etc.
- Get the top 10 popular content paths over the last 14 days.
- Get the top 10 referrering domains over the last 14 days.
- Creates a new release.
- Get a release.
- Get all repository releases.
- Delete a release.
- Update a release.
- Creates a new review.
- Get a review for a pull request.
- Get all reviews for a pull request.
- Update a review.
- Returns the repositories of a user.
- Invites a user to an organization.
The final workflow should look like the following image.
1. Start node#
The start node exists by default when you create a new workflow.
2. GitHub node#
- First of all, you'll have to enter credentials for the GitHub node. You can find out how to do that here.
- Select the 'Repository' option under the Resource field.
- Select the 'Get Profile' option under the Operation field.
- Enter the repository owner in the Repository Owner field.
- Enter the repository name in the Repository Name field.
- Click on Execute Node to run the workflow.