Skip to content

formatが間違ってたので直してあげたよ! #4284 #8769

formatが間違ってたので直してあげたよ! #4284

formatが間違ってたので直してあげたよ! #4284 #8769

---
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
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