diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ff63a231..5d3275ae 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -42,6 +42,10 @@ # - ubuntu-22.04 # - test python linter # +# - update-version +# - ubuntu-22.04 +# - check version have been updated +# # TODO: when merge CI in eprosima-CI repository, the jparisu fork must change for eProsima in actions. # # TODO: Add Windows CI @@ -288,3 +292,17 @@ jobs: - name: Python Linter uses: eProsima/eProsima-CI/ubuntu/python_linter@v0 + + +##################################################################### +# UPDATE VERSION + + update-version: + runs-on: ubuntu-22.04 + steps: + + - name: Version updated + if: "! contains(github.event.pull_request.labels.*.name, 'no version update required')" + uses: eProsima/eProsima-CI/ubuntu/check_version_update@feature/versions-update + with: + version-file-path: docs/rst/notes/forthcoming_version.rst diff --git a/docs/rst/notes/forthcoming_version.rst b/docs/rst/notes/forthcoming_version.rst index 5cd65f07..4198eb19 100644 --- a/docs/rst/notes/forthcoming_version.rst +++ b/docs/rst/notes/forthcoming_version.rst @@ -1,8 +1,12 @@ .. add orphan tag when new info added to this file -:orphan: +.. :orphan: ################### Forthcoming Version ################### + +This release includes the following minor **CI features** : + +- Check version is updated with every Pull Request diff --git a/docs/rst/notes/notes.rst b/docs/rst/notes/notes.rst index 3052f5b7..ac5c22aa 100644 --- a/docs/rst/notes/notes.rst +++ b/docs/rst/notes/notes.rst @@ -8,7 +8,8 @@ Notes .. TODO uncomment when there are forthcoming notes - .. include:: forthcoming_version.rst + +.. include:: forthcoming_version.rst Version v0.1.0 ==============