Skip to content

npmのバージョン指定修正時にhato-botのnpmのバージョンも考慮する #7750

npmのバージョン指定修正時にhato-botのnpmのバージョンも考慮する

npmのバージョン指定修正時にhato-botのnpmのバージョンも考慮する #7750

---
name: update-readme-hato-bot
on:
pull_request:
types:
- opened
- synchronize
- reopened
- closed
push:
branches:
- master
jobs:
update-readme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
if: github.event_name != 'pull_request' || github.event.action != 'closed'
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- run: perl -pe "s/{commands}/$(sed -e '2,$s/^/ /' commands.txt)/g" < README.template.md > README.md
if: github.event_name != 'pull_request' || github.event.action != 'closed'
- uses: dev-hato/actions-diff-pr-management@128afc4203b4e391e03868be91c987b2ddba7ea5 # v1.1.12
with:
github-token: ${{secrets.GITHUB_TOKEN}}
branch-name-prefix: update-readme
pr-title-prefix: READMEを更新してあげたよ!
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true