Quick Start - Star Repository on GitHub
In this guide, you will learn how to seamlessly integrate your GitHub account with ByteChef to automate the process of starring a repository. We will walk you through creating a project in ByteChef, setting up a workflow, and running it to achieve your goal.
Create Project
- Navigate to the Projects tab in ByteChef.
- Click on the Create Project button.
- Enter a project name. Optionally, add a description, select a category, and include relevant tags.
- Click Save.
Create Workflow
- Click on arrow under the project name.
- Click on the Create Workflow button.
- Enter a label for your workflow and optionally provide a description.
- Click Save.
Add Component
- Click on the + button to add component.
- Find and select the GitHub component.
- Choose the Star Repository action from the list.
- Click on the Connection tab.
- Click Create Connection.
- Enter a connection name and paste the Client ID and Client Secret from GitHub.
- Click Next.
- Click Connect.
- Click Authorize.
- Click on Choose Connection.
- Select the connection you just created.
- Go to the Properties tab.
- For Owner, enter the repository owner’s name (e.g.,
bytechefhq
). - For Repository, enter the repository name (e.g.,
bytechef
).
Run Workflow
- Click Run to execute the workflow. The repository will be starred.
- Verify by checking the Stars tab in your GitHub account to see the newly starred repository.
Additional Instructions
Connect GitHub Account
- Login to your GitHub account.
- Click on your profile icon in the top right corner.
- Select Settings from the dropdown menu.
- In the left sidebar, click on Developer settings.
- In the left sidebar, click on OAuth Apps.
- Click on New OAuth App.
- Fill in the required fields:
- Application name: Enter a name for your application (e.g.,
Test App
). - Homepage URL: Provide the homepage URL for your application (e.g.,
https://www.bytechef.io/
). - Authorization callback URL: Specify the URL where users will be redirected after authorization (e.g.,
http://127.0.0.1:5173/callback
).
- Application name: Enter a name for your application (e.g.,
- Click Register application.
- Click on Generate a new client secret.
- Copy the Client ID and Client Secret for later use.