Skip to content

Bump codecov/codecov-action from 4.6.0 to 5.0.2 #385

Bump codecov/codecov-action from 4.6.0 to 5.0.2

Bump codecov/codecov-action from 4.6.0 to 5.0.2 #385

name: 'Check PR title'
on:
pull_request:
types: [edited, opened, synchronize, reopened]
jobs:
pr-title-check:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.user.login != 'allcontributors[bot]' }}
steps:
# Echo the user's login
- name: Echo user login
run: echo ${{ github.event.pull_request.user.login }}
- uses: naveenk1223/action-pr-title@master
with:
# Valid titles: "Do something"
# Invalid title:
# - "do something"
# - "Do something."
# - "Does something"
# - "Do"
regex: '^[A-Z][a-zA-Z]*(?<!s)( .+)+[^.]$' # Thanks, ChatGPT
min_length: 10
max_length: 72