Skip to content

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

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

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

---
name: update-readme-hato-bot
on:
pull_request:
types:
- opened
- synchronize
- reopened
- closed
branches:
- develop
- master
push:
branches:
- master
permissions: {}
jobs:
update-readme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
if: github.event_name != 'pull_request' || github.event.action != 'closed'
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false
- 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@9de3de40217217a73ac95f3751d7bfe1c9f23ead # v2.2.3
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