Skip to content

Commit

Permalink
FIX Exclude some modules from getting tag-patch-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Aug 1, 2024
1 parent 0863275 commit 335e054
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/cms-any/tag-patch-release.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,16 @@
}
}

$notAllowedRepos = [
'cow',
'rhino',
'github-issue-search-client',
'module-standardiser',
'silverstripe-tx-translator',
'supported-modules',
];
$shouldHaveAction = $shouldHaveAction && !is_misc() && !module_is_one_of($notAllowedRepos);

if ($shouldHaveAction) {
write_file_even_if_exists($workflowPath, $content);
} else {
Expand Down

0 comments on commit 335e054

Please sign in to comment.