Latest blog post workflow #15811
This file contains hidden or 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 blog post workflow | |
| on: | |
| schedule: | |
| # Runs every hour | |
| - cron: '0 * * * *' | |
| workflow_dispatch: | |
| permissions: | |
| contents: write # To write the generated contents to the readme | |
| jobs: | |
| update-readme-with-blog: | |
| name: Update this repo's README with latest activities | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Pull in posts | |
| uses: gautamkrishnar/blog-post-workflow@v1 | |
| with: | |
| readme_path: ./profile/README.md | |
| feed_list: 'https://blog.mindcore.dk/feed/' | |
| max_post_count: '40' | |
| comment_tag_name: 'LATESTACTIVITYBLOG' | |
| remove_duplicates: 'true' | |
| committer_email: 'info@mindcore.dk' |