diff --git a/cookiecutter/migrate.sh b/cookiecutter/migrate.sh index 2916d8de..1896b218 100644 --- a/cookiecutter/migrate.sh +++ b/cookiecutter/migrate.sh @@ -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 "========================================================================" diff --git a/cookiecutter/{{cookiecutter.github_repo_name}}/.github/labeler.yml b/cookiecutter/{{cookiecutter.github_repo_name}}/.github/labeler.yml index 525665e3..fc6510e7 100644 --- a/cookiecutter/{{cookiecutter.github_repo_name}}/.github/labeler.yml +++ b/cookiecutter/{{cookiecutter.github_repo_name}}/.github/labeler.yml @@ -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 diff --git a/tests_golden/integration/test_cookiecutter_generation/actor/frequenz-actor-test/.github/labeler.yml b/tests_golden/integration/test_cookiecutter_generation/actor/frequenz-actor-test/.github/labeler.yml index 289715e0..b8fea2f2 100644 --- a/tests_golden/integration/test_cookiecutter_generation/actor/frequenz-actor-test/.github/labeler.yml +++ b/tests_golden/integration/test_cookiecutter_generation/actor/frequenz-actor-test/.github/labeler.yml @@ -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 diff --git a/tests_golden/integration/test_cookiecutter_generation/api/frequenz-api-test/.github/labeler.yml b/tests_golden/integration/test_cookiecutter_generation/api/frequenz-api-test/.github/labeler.yml index d3fc066d..5e3bde5f 100644 --- a/tests_golden/integration/test_cookiecutter_generation/api/frequenz-api-test/.github/labeler.yml +++ b/tests_golden/integration/test_cookiecutter_generation/api/frequenz-api-test/.github/labeler.yml @@ -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 diff --git a/tests_golden/integration/test_cookiecutter_generation/app/frequenz-app-test/.github/labeler.yml b/tests_golden/integration/test_cookiecutter_generation/app/frequenz-app-test/.github/labeler.yml index d8efb7a2..099fc309 100644 --- a/tests_golden/integration/test_cookiecutter_generation/app/frequenz-app-test/.github/labeler.yml +++ b/tests_golden/integration/test_cookiecutter_generation/app/frequenz-app-test/.github/labeler.yml @@ -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 diff --git a/tests_golden/integration/test_cookiecutter_generation/lib/frequenz-test-python/.github/labeler.yml b/tests_golden/integration/test_cookiecutter_generation/lib/frequenz-test-python/.github/labeler.yml index 05748ddb..1812ab8e 100644 --- a/tests_golden/integration/test_cookiecutter_generation/lib/frequenz-test-python/.github/labeler.yml +++ b/tests_golden/integration/test_cookiecutter_generation/lib/frequenz-test-python/.github/labeler.yml @@ -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 diff --git a/tests_golden/integration/test_cookiecutter_generation/model/frequenz-model-test/.github/labeler.yml b/tests_golden/integration/test_cookiecutter_generation/model/frequenz-model-test/.github/labeler.yml index b2041fa3..57166837 100644 --- a/tests_golden/integration/test_cookiecutter_generation/model/frequenz-model-test/.github/labeler.yml +++ b/tests_golden/integration/test_cookiecutter_generation/model/frequenz-model-test/.github/labeler.yml @@ -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