Skip to content

chore(deps): update dev-hato/actions-format-json-yml action to v0.0.96 #14500

chore(deps): update dev-hato/actions-format-json-yml action to v0.0.96

chore(deps): update dev-hato/actions-format-json-yml action to v0.0.96 #14500

---
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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
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