Skip to content

Releases: armingli/readme-update-actions

Final release

10 Apr 08:50
Compare
Choose a tag to compare
v1.1.1

rename the blog tag

Refactor updator

10 Apr 08:06
Compare
Choose a tag to compare
Pre-release
  1. simplify the tool

Support multiple rss format

10 Apr 04:42
Compare
Choose a tag to compare

Usage

  1. Go to your repository

  2. Add the following to your README.md file, you can use any title. Just make sure that you use <!-- BLOG-LIST-START --><!-- BLOG-LIST-END --> in your readme. The workflow will replace this comment with the actual blog posts list:

    # Blog posts
    <!-- BLOG-LIST-START -->
    <!-- BLOG-LIST-END -->
  3. Create a folder .github/workflows inside root of the repository if it doesn't exists.

  4. Create a new file readme-update-actions.yml inside .github/workflows/ with the following contents:

name: Readme Update Blog
on:
  schedule: # Run workflow automatically
    - cron: '0 * * * *' # Runs every 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 latest blogs
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: Fetch posts
        uses: imskr/readme-update-actions@v2
        with:
          RSS_LIST: "https://blog.metaprogramming.space/rss.xml" # required
          MAX_POST: 5  # optional, default 3
          COMMIT_USER: "commiter"  # optional
          COMMIT_EMAIL: "[email protected]" # optional
          COMMIT_MESSAGE: "Update readme with latest blogs" # optional, offer default msg like this
  1. Replace the above URL list with your own RSS feed URLs.
  2. Commit and wait for it to run automatically, or you can also trigger it manually to see the result instantly.

Support multiple rss format

09 Apr 17:34
Compare
Choose a tag to compare
Pre-release

Usage

  1. Go to your repository

  2. Add the following to your README.md file, you can use any title. Just make sure that you use <!-- BLOG-LIST-START --><!-- BLOG-LIST-END --> in your readme. The workflow will replace this comment with the actual blog posts list:

    # Blog posts
    <!-- BLOG-LIST-START -->
    <!-- BLOG-LIST-END -->
  3. Create a folder .github/workflows inside root of the repository if it doesn't exists.

  4. Create a new file readme-update-actions.yml inside .github/workflows/ with the following contents:

name: Readme Update Blog
on:
  schedule: # Run workflow automatically
    - cron: '0 * * * *' # Runs every 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 latest blogs
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: Fetch posts
        uses: imskr/readme-update-actions@v2
        with:
          RSS_LIST: "https://blog.metaprogramming.space/rss.xml" # required
          MAX_POST: 5  # optional, default 3
          COMMIT_USER: "commiter"  # optional
          COMMIT_EMAIL: "[email protected]" # optional
          COMMIT_MESSAGE: "Update readme with latest blogs" # optional, offer default msg like this
  1. Replace the above URL list with your own RSS feed URLs.
  2. Commit and wait for it to run automatically, or you can also trigger it manually to see the result instantly.

Support multiple rss format

09 Apr 17:09
Compare
Choose a tag to compare
Pre-release

Usage

  1. Go to your repository

  2. Add the following to your README.md file, you can use any title. Just make sure that you use <!-- BLOG-LIST-START --><!-- BLOG-LIST-END --> in your readme. The workflow will replace this comment with the actual blog posts list:

    # Blog posts
    <!-- BLOG-LIST-START -->
    <!-- BLOG-LIST-END -->
  3. Create a folder .github/workflows inside root of the repository if it doesn't exists.

  4. Create a new file readme-update-actions.yml inside .github/workflows/ with the following contents:

name: Readme Update Blog
on:
  schedule: # Run workflow automatically
    - cron: '0 * * * *' # Runs every 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 latest blogs
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: Fetch posts
        uses: armingli/readme-update-actions@v1
        with:
          RSS_LIST: "https://blog.metaprogramming.space/rss.xml" # required
          MAX_POST: 5  # optional, default 3
          COMMIT_USER: "commiter"  # optional
          COMMIT_EMAIL: "[email protected]" # optional
          COMMIT_MESSAGE: "Update readme with latest blogs" # optional, offer default msg like this
  1. Replace the above URL list with your own RSS feed URLs.
  2. Commit and wait for it to run automatically, or you can also trigger it manually to see the result instantly.