Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions cookiecutter/migrate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,10 @@ cat <<'EOT' | patch -p1
+ - "actions/*-artifact"
EOT

echo "========================================================================"

echo "Fix the labeler configuration example."
perl -i -pe 's/all-glob-to-all-file/all-globs-to-all-files/g' .github/labeler.yml

# Add a separation line like this one after each migration step.
echo "========================================================================"
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# - changed-files:
# - any-glob-to-any-file:
# - "src/**/*.py"
# - all-glob-to-all-file:
# - all-globs-to-all-files:
# - "!src/__init__.py"
#
# Please have in mind that that the part:xxx labels need to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# - changed-files:
# - any-glob-to-any-file:
# - "src/**/*.py"
# - all-glob-to-all-file:
# - all-globs-to-all-files:
# - "!src/__init__.py"
#
# Please have in mind that that the part:xxx labels need to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# - changed-files:
# - any-glob-to-any-file:
# - "src/**/*.py"
# - all-glob-to-all-file:
# - all-globs-to-all-files:
# - "!src/__init__.py"
#
# Please have in mind that that the part:xxx labels need to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# - changed-files:
# - any-glob-to-any-file:
# - "src/**/*.py"
# - all-glob-to-all-file:
# - all-globs-to-all-files:
# - "!src/__init__.py"
#
# Please have in mind that that the part:xxx labels need to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# - changed-files:
# - any-glob-to-any-file:
# - "src/**/*.py"
# - all-glob-to-all-file:
# - all-globs-to-all-files:
# - "!src/__init__.py"
#
# Please have in mind that that the part:xxx labels need to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# - changed-files:
# - any-glob-to-any-file:
# - "src/**/*.py"
# - all-glob-to-all-file:
# - all-globs-to-all-files:
# - "!src/__init__.py"
#
# Please have in mind that that the part:xxx labels need to
Expand Down
Loading