Skip to content

build(deps): bump actions/checkout from 4.1.0 to 4.1.1 #5894

build(deps): bump actions/checkout from 4.1.0 to 4.1.1

build(deps): bump actions/checkout from 4.1.0 to 4.1.1 #5894

name: pr-update-readme-sudden-death
on:
pull_request:
types:
- opened
- synchronize
- reopened
- closed
push:
branches:
- master
permissions:
contents: write
pull-requests: write
jobs:
pr-update-readme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
if: github.event_name != 'pull_request' || github.event.action != 'closed'
with:
# ここでsubmodule持ってくるとdetached headにcommitして死ぬ
# submodule: 'recursive'
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- if: github.event_name != 'pull_request' || github.event.action != 'closed'
run: sed -i -e "s/Python [0-9.]*/Python $(cat .python-version)/g" README.md
- uses: dev-hato/[email protected]
with:
github-token: ${{secrets.GITHUB_TOKEN}}
branch-name-prefix: readme
pr-title-prefix: READMEの記述を直してあげたよ!
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true