Version 3.0.0 🌈 #31
Workflow file for this run
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: 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 |