Latest Youtube videos workflow #21914
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Latest Youtube videos workflow | |
on: | |
schedule: # Run workflow automatically | |
- cron: '0 * * * *' # Runs every hour, on the hour | |
workflow_dispatch: # Run workflow manually (without waiting for the cron to be called), through the Github Actions Workflow page directly | |
jobs: | |
update-readme-with-blog: | |
name: Update this repo's README with latest blog posts | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Pull in Weekdone Youtube videos | |
uses: gautamkrishnar/blog-post-workflow@master | |
with: | |
feed_list: "https://www.youtube.com/feeds/videos.xml?channel_id=UCEykuC3As2n7kzTei7hGn1Q" | |
comment_tag_name: "YOUTUBE" | |
commit_message: "Updated readme with the latest Youtube data" | |
readme_path: "./profile/README.md" |