Merge pull request #245 from yegor256/244 #342
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
# SPDX-FileCopyrightText: Copyright (c) 2013-2025 Yegor Bugayenko <[email protected]> | |
# SPDX-License-Identifier: MIT | |
--- | |
# yamllint disable rule:line-length | |
name: up | |
'on': | |
push: | |
jobs: | |
up: | |
timeout-minutes: 15 | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- run: |- | |
git fetch --tags --force && \ | |
latest=$(git tag --sort=creatordate | tail -1) && \ | |
sed -E -i "s/<version>[^<]+/<version>${latest}/g" README.md | |
- uses: peter-evans/create-pull-request@v7 | |
with: | |
commit-message: 'New version in README' | |
delete-branch: true | |
title: 'New version in README' | |
assignees: yegor256 | |
base: master | |
branch: up |