Skip to content

Commit fb84e43

Browse files
monikakusterivicac
authored andcommitted
538 - Add guide for starring a GitHub repository
1 parent ce7ca17 commit fb84e43

File tree

2 files changed

+59
-1
lines changed

2 files changed

+59
-1
lines changed

docs/astro.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ export default defineConfig({
3939
items: [
4040
// { label: 'Introduction', link: '/automation/getting-started/introduction' },
4141
{label: 'Glossary', link: '/automation/getting-started/glossary'},
42-
{label: 'Quick Start', link: '/automation/getting-started/quick-start'},
42+
{label: 'Quick Start - Star Repository on Github', link: '/automation/getting-started/quick-start-star-repository'},
43+
{label: 'Quick Start', link: '/automation/getting-started/quick-start'}
4344
],
4445
},
4546
{
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
title: Quick Start - Star Repository
3+
description: Learn how to connect your GitHub account to ByteChef and star a repository.
4+
---
5+
6+
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.
7+
8+
## Connect GitHub Account
9+
10+
1. Login to your GitHub account.
11+
2. Click on your profile icon in the top right corner.
12+
3. Select **Settings** from the dropdown menu.
13+
4. In the left sidebar, click on **Developer settings**.
14+
5. In the left sidebar, click on **OAuth Apps**.
15+
6. Click on **New OAuth App**.
16+
7. Fill in the required fields:
17+
- **Application name**: Enter a name for your application (e.g., `Test App`).
18+
- **Homepage URL**: Provide the homepage URL for your application (e.g., `https://www.bytechef.io/`).
19+
- **Authorization callback URL**: Specify the URL where users will be redirected after authorization (e.g., `http://127.0.0.1:5173/callback`).
20+
8. Click **Register application**.
21+
9. Click on **Generate a new client secret**.
22+
10. Copy the **Client ID** and **Client Secret** for later use.
23+
24+
<div style="position:relative;height:0;width:100%;overflow:hidden;z-index:99999;box-sizing:border-box;padding-bottom:calc(53.02672956% + 32px)">
25+
<iframe src="https://www.guidejar.com/embed/bhsAUb5TGIexsFuLBica?type=1&controls=on" width="100%" height="100%" style="height:100%;position:absolute;inset:0" allowfullscreen frameborder="0"></iframe>
26+
</div>
27+
28+
## Star a Repository
29+
30+
1. Navigate to the **Projects** tab in ByteChef.
31+
2. Click on the **Create Project** button.
32+
3. Enter a project name. Optionally, add a description, select a category, and include relevant tags.
33+
4. Click **Save**.
34+
5. Click on arrow under the project name.
35+
6. Click on the **Create Workflow** button.
36+
7. Enter a label for your workflow and optionally provide a description.
37+
8. Click **Save**.
38+
9. Click on the **+** button to add component.
39+
10. Find and select the GitHub component.
40+
11. Choose the **Star Repository** action from the list.
41+
12. Click on the **Connection** tab.
42+
13. Click **Create Connection**.
43+
14. Enter a connection name and paste the **Client ID** and **Client Secret** from GitHub.
44+
15. Click **Next**.
45+
16. Click **Connect**.
46+
17. Click **Authorize**.
47+
18. Click on **Choose Connection**.
48+
19. Select the connection you just created.
49+
20. Go to the **Properties** tab.
50+
21. For **Owner**, enter the repository owner's name (e.g., `bytechefhq`).
51+
22. For **Repository**, enter the repository name (e.g., `bytechef`).
52+
23. Click **Run** to execute the workflow. The repository will be starred.
53+
24. Verify by checking the **Stars** tab in your GitHub account to see the newly starred repository.
54+
55+
<div style="position:relative;height:0;width:100%;overflow:hidden;z-index:99999;box-sizing:border-box;padding-bottom:calc(53.02672956% + 32px)">
56+
<iframe src="https://www.guidejar.com/embed/u1ps6awfOoKVN8gbublE?type=1&controls=on" width="100%" height="100%" style="height:100%;position:absolute;inset:0" allowfullscreen frameborder="0"></iframe>
57+
</div>

0 commit comments

Comments
 (0)