mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-21 20:26:41 +00:00
fix: pr title check
This commit is contained in:
parent
101eed8a93
commit
a4e581b456
1 changed files with 4 additions and 0 deletions
4
.github/workflows/validate_pr.yml
vendored
4
.github/workflows/validate_pr.yml
vendored
|
|
@ -66,6 +66,10 @@ jobs:
|
|||
|
||||
const match = prTitle.match(titleRegex);
|
||||
const dirPart = match[1];
|
||||
if(dirPart == "all") {
|
||||
console.log('✅ PR title format is valid for "all" directories');
|
||||
return;
|
||||
}
|
||||
const directories = dirPart.split(',').map(d => d.trim());
|
||||
const missingDirs = [];
|
||||
for (const dir of directories) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue