Skip to content

Commit 3e654ed

Browse files
committed
allow skipping ci.yaml workflow
1 parent 148d426 commit 3e654ed

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

monorepo-migration/migrate.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,11 @@ if [ -d "$SOURCE_REPO_NAME/.github/workflows" ]; then
379379
if [ -f "$workflow" ]; then
380380
filename=$(basename "$workflow")
381381

382+
if [ "${filename}" == "ci.yaml" && "${SKIP_CI_WORKFLOW}" == "true" ]; then
383+
echo "Skipping ci.yaml workflow as requested by user"
384+
continue
385+
fi
386+
382387
# Skip redundant workflows as requested by user
383388
case "$filename" in
384389
"hermetic_library_generation.yaml" | "update_generation_config.yaml" | \

0 commit comments

Comments
 (0)