Skip to content

Update crate-ci/typos action to v1.49.0 #991

Update crate-ci/typos action to v1.49.0

Update crate-ci/typos action to v1.49.0 #991

Workflow file for this run

# SPDX-FileCopyrightText: Copyright (c) 2014-2026 Yegor Bugayenko
# 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@v7
- run: |-
git fetch --tags --force && \
latest=$(git tag --sort=creatordate | tail -1) && \
sed -E -i "s/<version>[^<]+/<version>${latest}/g" README.md && \
sed -E -i "s/takes-[0-9][^-]+/takes-${latest}/g" README.md && \
sed -E -i "s/takes\/[0-9][^\/]+/takes\/${latest}/g" README.md && \
sed -E -i "s/org.takes:takes:.+/org.takes:takes::${latest}/g" README.md
- uses: peter-evans/create-pull-request@v8
with:
sign-commits: true
commit-message: 'new version in README'
delete-branch: true
title: 'New version in README'
assignees: yegor256
branch: up
base: master