Skip to content

Update Readme Versions #34

Update Readme Versions

Update Readme Versions #34

Workflow file for this run

name: Update Readme Versions
on:
release:
types: [published]
jobs:
update_readme:
runs-on: ubuntu-22.04
steps:
- name: Checkout the source code
uses: actions/checkout@v4
- name: Find and Replace old versions
run: |
sed -i -E 's/(v[0-9]+.[0-9]+.[0-9]+)/${{ github.ref_name }}/g' README.md
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
title: ":memo: Update Readme Versions"
body: "all versions in the readme file are bumped"
commit-message: ":memo: update readme versions"
base: main
labels: |
documentation
patch
branch: update-readme
add-paths: |
README.md