CI pr-format: Pipfile内にパッケージがあるかを大文字・小文字区別せず判定する #6298
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
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@v1.1.7 | |
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 |