ci: 单次最多检查commit数从30扩大到100

This commit is contained in:
SherkeyXD
2023-12-12 14:13:55 +08:00
parent 7725cbbb45
commit efcf289b61

View File

@@ -40,7 +40,8 @@ jobs:
const { data: commits } = await github.rest.pulls.listCommits({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.payload.pull_request.number
pull_number: context.payload.pull_request.number,
per_page: 100
});
const regex = /^((build|chore|ci|docs?|feat|fix|perf|refactor|rft|style|test|i18n|typo)[\:\.\(\,]|[Rr]evert|[Rr]elease)/;