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: README.md
+66-25
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ jobs:
42
42
```
43
43
<!-- prettier-ignore-end -->
44
44
45
-
3. Make sure to change the `channel_id` to your YouTube channel ID.
45
+
3. Make sure to change the `channel_id` to [your YouTube channel ID](https://github.com/DenverCoder1/github-readme-youtube-cards/wiki/How-to-Locate-Your-Channel-ID).
46
46
47
47
4. The [cron expression](https://crontab.cronhub.io/) in the example above is set to run at the top of every hour. The first time, you may want to [trigger the workflow manually](https://github.com/DenverCoder1/github-readme-youtube-cards/wiki/Running-the-GitHub-Action-Manually).
48
48
@@ -101,29 +101,31 @@ Check out the [Wiki](https://github.com/DenverCoder1/github-readme-youtube-cards
| `theme_context_dark` | JSON object with dark mode colors <sup>🎨</sup> | "{}" |
118
-
| `show_duration` 🔑 | Whether to show the duration of the videos | "false" |
119
-
| `author_name` | The name of the commit author | "GitHub Actions" |
120
-
| `author_email` | The email address of the commit author | "41898282+github-actions[bot]@users.noreply.github.com" |
121
-
| `commit_message` | The commit message to use for the commit | "docs(readme): Update YouTube cards" |
122
-
| `readme_path` | The path to the README file | "README.md" |
123
-
| `output_only` | Whether to skip writing to the readme file | "false" |
124
-
| `output_type` | The output syntax to use ("markdown" or "html") | "markdown" |
125
-
126
-
🔑 YouTube API Key required. See [Setting Up the Action with a YouTube API Key](https://github.com/DenverCoder1/github-readme-youtube-cards/wiki/Setting-Up-the-Action-with-a-YouTube-API-Key) in the wiki for more information.
| `theme_context_dark` | JSON object with dark mode colors <sup>🎨</sup> | "{}" |
118
+
| `show_duration` <sup>🔑</sup> | Whether to show the duration of the videos | "false" |
119
+
| `author_name` | The name of the commit author | "GitHub Actions" |
120
+
| `author_email` | The email address of the commit author | "41898282+github-actions[bot]@users.noreply.github.com" |
121
+
| `commit_message` | The commit message to use for the commit | "docs(readme): Update YouTube cards" |
122
+
| `readme_path` | The path to the Markdown or HTML file to update | "README.md" |
123
+
| `output_only` | Whether to skip writing to the readme file | "false" |
124
+
| `output_type` | The output syntax to use ("markdown" or "html") | "markdown" |
125
+
126
+
<sup>📺</sup> A Channel ID is required. See [How to Locate Your Channel ID](https://github.com/DenverCoder1/github-readme-youtube-cards/wiki/How-to-Locate-Your-Channel-ID) in the wiki for more information.
127
+
128
+
<sup>🔑</sup> Some features require a YouTube API key. See [Setting Up the Action with a YouTube API Key](https://github.com/DenverCoder1/github-readme-youtube-cards/wiki/Setting-Up-the-Action-with-a-YouTube-API-Key) in the wiki for more information.
127
129
128
130
<sup>🎨</sup> See [Setting Theme Contexts for Light and Dark Mode](https://github.com/DenverCoder1/github-readme-youtube-cards/wiki/Setting-Theme-Contexts-for-Light-and-Dark-Mode) in the wiki for more information.
129
131
@@ -133,10 +135,49 @@ Check out the [Wiki](https://github.com/DenverCoder1/github-readme-youtube-cards
| `markdown` | The generated markdown section used for updating the README file |
138
+
| `markdown` | The generated Markdown or HTML used for updating the README file |
137
139
138
140
See [Using the Markdown as an Action Output](https://github.com/DenverCoder1/github-readme-youtube-cards/wiki/Using-the-Markdown-as-an-Action-Output) for more information.
139
141
142
+
### Example Workflow
143
+
144
+
This is an advanced example showing the available options. All options are optional except `channel_id`.
0 commit comments