diff --git a/.github/workflows/run-monorepo-manager.yml b/.github/workflows/monorepo-manager.yml similarity index 98% rename from .github/workflows/run-monorepo-manager.yml rename to .github/workflows/monorepo-manager.yml index 5ab860aa..dd86d37c 100644 --- a/.github/workflows/run-monorepo-manager.yml +++ b/.github/workflows/monorepo-manager.yml @@ -4,7 +4,7 @@ # This CI workflow will run on every push to a branch that has an open pull request # not in draft mode. -name: "run-monorepo-manager" +name: "monorepo-manager" # cancel previous runs if the branch is updated. concurrency: @@ -15,7 +15,7 @@ on: pull_request: types: [opened, synchronize, reopened, ready_for_review, review_requested] paths: - - .github/workflows/run-monorepo-manager.yml + - .github/workflows/monorepo-manager.yml - .monorepo_manager.yaml - services/**/* - lib/**/* diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/pages-build.yml similarity index 95% rename from .github/workflows/deploy-docs.yml rename to .github/workflows/pages-build.yml index 0549fee4..2be3f20e 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/pages-build.yml @@ -1,9 +1,9 @@ -name: Deploy Documentation +name: pages-build on: push: branches: [ main ] paths: - - .github/workflows/deploy-docs.yml + - .github/workflows/pages-build.yml - pyproject.toml - docs/** diff --git a/.github/workflows/auto-assign-pr-author.yml b/.github/workflows/pr-assign-author.yml similarity index 89% rename from .github/workflows/auto-assign-pr-author.yml rename to .github/workflows/pr-assign-author.yml index 85901ce7..aac3827c 100644 --- a/.github/workflows/auto-assign-pr-author.yml +++ b/.github/workflows/pr-assign-author.yml @@ -1,4 +1,4 @@ -name: Auto Author Assign +name: pr-author-assign on: pull_request_target: diff --git a/.github/workflows/clean-gh-actions-cache.yml b/.github/workflows/pr-cache-cleanup.yml similarity index 97% rename from .github/workflows/clean-gh-actions-cache.yml rename to .github/workflows/pr-cache-cleanup.yml index 67b3116c..b050f31f 100644 --- a/.github/workflows/clean-gh-actions-cache.yml +++ b/.github/workflows/pr-cache-cleanup.yml @@ -1,6 +1,6 @@ # https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#managing-caches # It has to be investigated if this may also delete some shared caches. -name: Post PR Cleanup +name: pr-cache-cleanup on: pull_request: types: diff --git a/.github/workflows/enforce-branch-up-to-date.yml b/.github/workflows/pr-enforce-branch-up-to-date.yml similarity index 97% rename from .github/workflows/enforce-branch-up-to-date.yml rename to .github/workflows/pr-enforce-branch-up-to-date.yml index e26247c8..4d9c3498 100644 --- a/.github/workflows/enforce-branch-up-to-date.yml +++ b/.github/workflows/pr-enforce-branch-up-to-date.yml @@ -10,7 +10,7 @@ # check is enabled (see below). # # That's why we need this dummy check, because not all parts of the code have unit tests -name: "enforce-branch-up-to-date" +name: pr-enforce-branch-up-to-date on: diff --git a/.github/workflows/test-lib-py_dev_dependencies.yml b/.github/workflows/test-lib-py_dev_dependencies.yml index 1bb0e1a1..66cc02a6 100644 --- a/.github/workflows/test-lib-py_dev_dependencies.yml +++ b/.github/workflows/test-lib-py_dev_dependencies.yml @@ -4,7 +4,7 @@ # This CI workflow will run on every push to a branch that has an open pull request # not in draft mode. -name: Test - lib/py_dev_dependencies +name: test-lib/py_dev_dependencies # cancel previous runs if the branch is updated. concurrency: diff --git a/.github/workflows/test-lib-py_edge_device.yml b/.github/workflows/test-lib-py_edge_device.yml index 2540cc3d..c7f688c6 100644 --- a/.github/workflows/test-lib-py_edge_device.yml +++ b/.github/workflows/test-lib-py_edge_device.yml @@ -4,7 +4,7 @@ # This CI workflow will run on every push to a branch that has an open pull request # not in draft mode. -name: Test - lib/py_edge_device +name: test-lib/py_edge_device # cancel previous runs if the branch is updated. concurrency: diff --git a/.github/workflows/test-lib-py_edge_interface.yml b/.github/workflows/test-lib-py_edge_interface.yml index d10bb871..1d69090e 100644 --- a/.github/workflows/test-lib-py_edge_interface.yml +++ b/.github/workflows/test-lib-py_edge_interface.yml @@ -4,7 +4,7 @@ # This CI workflow will run on every push to a branch that has an open pull request # not in draft mode. -name: Test - lib/py_edge_interface +name: test-lib/py_edge_interface # cancel previous runs if the branch is updated. concurrency: diff --git a/.github/workflows/test-lib-py_edge_server.yml b/.github/workflows/test-lib-py_edge_server.yml index 030fc48b..72bb6af6 100644 --- a/.github/workflows/test-lib-py_edge_server.yml +++ b/.github/workflows/test-lib-py_edge_server.yml @@ -4,7 +4,7 @@ # This CI workflow will run on every push to a branch that has an open pull request # not in draft mode. -name: Test - lib/py_edge_server +name: test-lib/py_edge_server # cancel previous runs if the branch is updated. concurrency: diff --git a/.github/workflows/test-lib-py_monorepo_manager.yml b/.github/workflows/test-lib-py_monorepo_manager.yml index 56fcd16d..fa3206e9 100644 --- a/.github/workflows/test-lib-py_monorepo_manager.yml +++ b/.github/workflows/test-lib-py_monorepo_manager.yml @@ -4,7 +4,7 @@ # This CI workflow will run on every push to a branch that has an open pull request # not in draft mode. -name: Test - lib/py_monorepo_manager +name: test-lib/py_monorepo_manager # cancel previous runs if the branch is updated. concurrency: diff --git a/.github/workflows/test-services-api.yml b/.github/workflows/test-services-api.yml index 768f3df6..d0828a64 100644 --- a/.github/workflows/test-services-api.yml +++ b/.github/workflows/test-services-api.yml @@ -4,7 +4,7 @@ # This CI workflow will run on every push to a branch that has an open pull request # not in draft mode. -name: Test - services/api +name: test-services/api # cancel previous runs if the branch is updated. concurrency: diff --git a/.github/workflows/test-services-device.yml b/.github/workflows/test-services-device.yml index 8fbb137e..d3b5abb4 100644 --- a/.github/workflows/test-services-device.yml +++ b/.github/workflows/test-services-device.yml @@ -4,7 +4,7 @@ # This CI workflow will run on every push to a branch that has an open pull request # not in draft mode. -name: Test - services/device +name: test-services/device # cancel previous runs if the branch is updated. concurrency: diff --git a/lib/py_monorepo_manager/monorepo_manager/language/python/templates/ci.yml.jinja2 b/lib/py_monorepo_manager/monorepo_manager/language/python/templates/ci.yml.jinja2 index 06d85aa1..179808f1 100644 --- a/lib/py_monorepo_manager/monorepo_manager/language/python/templates/ci.yml.jinja2 +++ b/lib/py_monorepo_manager/monorepo_manager/language/python/templates/ci.yml.jinja2 @@ -5,7 +5,7 @@ # This CI workflow will run on every push to a branch that has an open pull request # not in draft mode. -name: Test - {{ project.path_from_root }} +name: test-{{ project.path_from_root }} # cancel previous runs if the branch is updated. concurrency: diff --git a/lib/py_monorepo_manager/monorepo_manager/template_renderer.py b/lib/py_monorepo_manager/monorepo_manager/template_renderer.py index 45c3ccd3..c6562ddb 100644 --- a/lib/py_monorepo_manager/monorepo_manager/template_renderer.py +++ b/lib/py_monorepo_manager/monorepo_manager/template_renderer.py @@ -113,7 +113,7 @@ def write_run_cli_ci(project: LanguageProjects | Project): "This function should only be called for the monorepo manager project." ) # pragma: no cover - file_path = MONOREPO_ROOT / ".github/workflows/run-monorepo-manager.yml" + file_path = MONOREPO_ROOT / ".github/workflows/monorepo-manager.yml" write_template( environment=LANGUAGE_TO_CONTEXT[Language.python].jinja_environment,