We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba7f024 commit 6998908Copy full SHA for 6998908
.github/workflows/versions.yml
@@ -0,0 +1,28 @@
1
+name: Update Readme Versions
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ update_readme:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Checkout the source code
12
+ uses: actions/checkout@v3
13
+ - name: Find and Replace old versions
14
+ run: |
15
+ sed -i -E 's/(v[0-9]+.[0-9]+.[0-9]+)/${{ github.ref_name }}/g' README.md
16
+ - name: Create Pull Request
17
+ uses: peter-evans/create-pull-request@v4
18
+ with:
19
+ title: ":memo: Update Readme Versions"
20
+ body: "all versions in the readme file are bumped"
21
+ commit-message: ":memo: update readme versions"
22
+ base: main
23
+ labels: |
24
+ documentation
25
+ patch
26
+ branch: update-readme
27
+ add-paths: |
28
+ README.md
0 commit comments