Skip to content

Commit 4399f80

Browse files
author
Python Hub
committed
Updated README
1 parent 118f908 commit 4399f80

File tree

3 files changed

+34
-6
lines changed

3 files changed

+34
-6
lines changed

.github/workflows/update-readme.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ jobs:
1515
- uses: jamesgeorge007/github-activity-readme@master
1616
env:
1717
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
with:
19+
COMMIT_MSG: "Specify a custom commit message"
20+
MAX_LINES: 5
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Latest YouTube Videos
2+
on:
3+
schedule:
4+
# Runs every hour
5+
- cron: "0 * * * *"
6+
workflow_dispatch:
7+
8+
jobs:
9+
update-readme-with-youtube:
10+
name: Update this repository README with latest videos from YouTube
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: gautamkrishnar/blog-post-workflow@master
15+
with:
16+
comment_tag_name: "YOUTUBE"
17+
feed_list: "https://www.youtube.com/feeds/videos.xml?channel_id=UCpgulsP32NrJey8pUtM2qMQ"

README.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,23 @@
7272

7373
[![GitHub Streak](https://github-readme-streak-stats.herokuapp.com/?user=pythonhubpy&theme=dracula&hide_border=true)](https://git.io/streak-stats)
7474

75-
<h1 style="margin-top:20px;">Github Activities ⚡</h1>
76-
<!--START_SECTION:activity-->
77-
78-
79-
75+
<details>
76+
<summary>⚒️ Recent GitHub Activity</summary>
77+
<br/>
78+
<!--START_SECTION:activity-->
8079

80+
<!--END_SECTION:activity-->
81+
<br/>
82+
</details>
8183

84+
<details>
85+
<summary>📹 Recent YouTube Videos</summary>
86+
<br/>
87+
<!--YOUTUBE:START-->
8288

83-
<!--END_SECTION:activity-->
89+
<!--YOUTUBE:END-->
90+
<br/>
91+
</details>
8492

8593
<h1 style="margin-top:20px;">Github Stats 📊</h1>
8694
<details>

0 commit comments

Comments
 (0)