From 5e8fe22dfd1c8636f673b4adf635b33ca0c24ed8 Mon Sep 17 00:00:00 2001 From: Massimiliano Pippi Date: Mon, 18 Dec 2023 12:59:49 +0100 Subject: [PATCH] chore: use naming convention for workflows (#118) * use naming convention for workflows * use different prefix --- .github/workflows/{labeler.yml => _CI_labeler.yml} | 2 +- .github/workflows/{project.yml => _CI_project.yml} | 2 +- .../{pypi_release.yml => _CI_pypi_release.yml} | 13 ++++++------- 3 files changed, 8 insertions(+), 9 deletions(-) rename .github/workflows/{labeler.yml => _CI_labeler.yml} (91%) rename .github/workflows/{project.yml => _CI_project.yml} (88%) rename .github/workflows/{pypi_release.yml => _CI_pypi_release.yml} (75%) diff --git a/.github/workflows/labeler.yml b/.github/workflows/_CI_labeler.yml similarity index 91% rename from .github/workflows/labeler.yml rename to .github/workflows/_CI_labeler.yml index 2af558297..bed28b1b2 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/_CI_labeler.yml @@ -1,4 +1,4 @@ -name: "Labeler" +name: Core / Labeler on: - pull_request_target diff --git a/.github/workflows/project.yml b/.github/workflows/_CI_project.yml similarity index 88% rename from .github/workflows/project.yml rename to .github/workflows/_CI_project.yml index 716c1ff43..59beadd7f 100644 --- a/.github/workflows/project.yml +++ b/.github/workflows/_CI_project.yml @@ -1,4 +1,4 @@ -name: Track issues with Github project +name: Core / Add issues to Github project on: issues: diff --git a/.github/workflows/pypi_release.yml b/.github/workflows/_CI_pypi_release.yml similarity index 75% rename from .github/workflows/pypi_release.yml rename to .github/workflows/_CI_pypi_release.yml index 39e4a580f..57793c588 100644 --- a/.github/workflows/pypi_release.yml +++ b/.github/workflows/_CI_pypi_release.yml @@ -1,13 +1,12 @@ -name: Project release on PyPi +name: Core / Project release on PyPi # The pushed tag must be formatted like so: -# * nodes/speech2text-v1.0.0 -# * stores/foo-documentstore-v1.2.3 +# * integrations/-v1.0.0 # -# The first part must be the path of the project being released. -# If we want to release version 1.0.0 of project text2speech -# that lives in path nodes/text2speech we'd have to push a -# nodes/text2speech-v1.0.0 tag. +# For example, if we want to release version 1.0.99 +# of the google-vertex-haystack integration we'd have to push the tag: +# +# integrations/google_vertex-v1.0.99 on: push: