diff --git a/.github/workflows/cd_release.yml b/.github/workflows/cd_release.yml index 10297534..659fb127 100644 --- a/.github/workflows/cd_release.yml +++ b/.github/workflows/cd_release.yml @@ -188,7 +188,7 @@ jobs: if [ -n "${{ inputs.build_libs }}" ]; then pip install ${{ inputs.build_libs }} fi - pip install git+https://github.com/SINTEF/ci-cd.git@v2.7.1 + pip install git+https://github.com/SINTEF/ci-cd.git@v2.7.2 - name: Parse changelog configuration run: | diff --git a/.github/workflows/ci_cd_updated_default_branch.yml b/.github/workflows/ci_cd_updated_default_branch.yml index d4711aa5..5be13458 100644 --- a/.github/workflows/ci_cd_updated_default_branch.yml +++ b/.github/workflows/ci_cd_updated_default_branch.yml @@ -236,7 +236,7 @@ jobs: python -m pip install --upgrade pip pip install -U setuptools wheel pip install ${EDITABLE}.${{ inputs.doc_extras }} - pip install git+https://github.com/SINTEF/ci-cd.git@v2.7.1 + pip install git+https://github.com/SINTEF/ci-cd.git@v2.7.2 INSTALLED_PACKAGES=$(pip freeze) if [ "${{ inputs.docs_framework }}" == "mkdocs" ]; then diff --git a/.github/workflows/ci_check_pyproject_dependencies.yml b/.github/workflows/ci_check_pyproject_dependencies.yml index d5232b4f..cd0de4d6 100644 --- a/.github/workflows/ci_check_pyproject_dependencies.yml +++ b/.github/workflows/ci_check_pyproject_dependencies.yml @@ -137,7 +137,7 @@ jobs: python -m pip install -U ${VERBOSE} pip pip install -U ${VERBOSE} setuptools wheel pip install ${VERBOSE} .${{ inputs.install_extras }} - pip install ${VERBOSE} git+https://github.com/SINTEF/ci-cd.git@v2.7.1 + pip install ${VERBOSE} git+https://github.com/SINTEF/ci-cd.git@v2.7.2 - name: Set up git user run: | diff --git a/.github/workflows/ci_tests.yml b/.github/workflows/ci_tests.yml index 4f6e3711..658c6a43 100644 --- a/.github/workflows/ci_tests.yml +++ b/.github/workflows/ci_tests.yml @@ -391,7 +391,7 @@ jobs: python -m pip install -U pip pip install -U setuptools wheel pip install ${EDITABLE}.${{ inputs.install_extras }} - pip install git+https://github.com/SINTEF/ci-cd.git@v2.7.1 + pip install git+https://github.com/SINTEF/ci-cd.git@v2.7.2 - name: Update API Reference if: env.framework == 'mkdocs' && inputs.update_python_api_ref diff --git a/CHANGELOG.md b/CHANGELOG.md index 1785683c..5abdc48e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ # Changelog +## [v2.7.2](https://github.com/SINTEF/ci-cd/tree/v2.7.2) (2024-01-13) + +[Full Changelog](https://github.com/SINTEF/ci-cd/compare/v2.7.1...v2.7.2) + +**Fixed bugs:** + +- Support first release [\#232](https://github.com/SINTEF/ci-cd/issues/232) + +**Closed issues:** + +- Use ruff instead of pylint \(and isort\) in code base [\#191](https://github.com/SINTEF/ci-cd/issues/191) + +**Merged pull requests:** + +- \[Auto-generated\] Update dependencies [\#235](https://github.com/SINTEF/ci-cd/pull/235) ([TEAM4-0](https://github.com/TEAM4-0)) +- Go through another env var to set --since-tag [\#233](https://github.com/SINTEF/ci-cd/pull/233) ([CasperWA](https://github.com/CasperWA)) +- \[Auto-generated\] Update dependencies [\#231](https://github.com/SINTEF/ci-cd/pull/231) ([TEAM4-0](https://github.com/TEAM4-0)) +- Update to ruff \(instead of pylint \(and isort\)\) [\#192](https://github.com/SINTEF/ci-cd/pull/192) ([CasperWA](https://github.com/CasperWA)) + ## [v2.7.1](https://github.com/SINTEF/ci-cd/tree/v2.7.1) (2023-12-07) [Full Changelog](https://github.com/SINTEF/ci-cd/compare/v2.7.0...v2.7.1) diff --git a/ci_cd/__init__.py b/ci_cd/__init__.py index 37b5028f..2cd8c85d 100644 --- a/ci_cd/__init__.py +++ b/ci_cd/__init__.py @@ -3,7 +3,7 @@ import logging -__version__ = "2.7.1" +__version__ = "2.7.2" __author__ = "Casper Welzel Andersen" __author_email__ = "casper.w.andersen@sintef.no" diff --git a/docs/hooks/docs_api_reference.md b/docs/hooks/docs_api_reference.md index c1ceb189..336a7fe4 100644 --- a/docs/hooks/docs_api_reference.md +++ b/docs/hooks/docs_api_reference.md @@ -58,7 +58,7 @@ It is meant to be complete as is. ```yaml repos: - repo: https://github.com/SINTEF/ci-cd - rev: v2.7.1 + rev: v2.7.2 hooks: - id: docs-api-reference args: diff --git a/docs/hooks/docs_landing_page.md b/docs/hooks/docs_landing_page.md index 97bdbade..01b4e5b3 100644 --- a/docs/hooks/docs_landing_page.md +++ b/docs/hooks/docs_landing_page.md @@ -32,7 +32,7 @@ It is meant to be complete as is. ```yaml repos: - repo: https://github.com/SINTEF/ci-cd - rev: v2.7.1 + rev: v2.7.2 hooks: - id: docs-landing-page args: diff --git a/docs/hooks/update_pyproject.md b/docs/hooks/update_pyproject.md index f61c9563..4fd98c38 100644 --- a/docs/hooks/update_pyproject.md +++ b/docs/hooks/update_pyproject.md @@ -66,7 +66,7 @@ It is meant to be complete as is. ```yaml repos: - repo: https://github.com/SINTEF/ci-cd - rev: v2.7.1 + rev: v2.7.2 hooks: - id: update-pyproject args: diff --git a/docs/index.md b/docs/index.md index 3e624cda..0c50e3a5 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,6 +1,6 @@ # CI/CD tools -**Current version to use:** `v2.7.1` +**Current version to use:** `v2.7.2` Use tried and tested continuous integration (CI) and continuous deployment (CD) tools from this repository. diff --git a/docs/workflows/cd_release.md b/docs/workflows/cd_release.md index 5e9b0db5..d9a18861 100644 --- a/docs/workflows/cd_release.md +++ b/docs/workflows/cd_release.md @@ -29,7 +29,7 @@ See the [proper section](../hooks/docs_api_reference.md#using-it-together-with-c The content of repository files can be updated to use the new version where necessary. This is done through the `version_update_changes` (and `version_update_changes_separator`) inputs. -To see an example of how to use the `version_update_changes` (and `version_update_changes_separator`) see for example the [workflow used by the SINTEF/ci-cd repository](https://github.com/SINTEF/ci-cd/blob/v2.7.1/.github/workflows/_local_cd_release.yml) calling the _CD Release_ workflow. +To see an example of how to use the `version_update_changes` (and `version_update_changes_separator`) see for example the [workflow used by the SINTEF/ci-cd repository](https://github.com/SINTEF/ci-cd/blob/v2.7.2/.github/workflows/_local_cd_release.yml) calling the _CD Release_ workflow. Some notes to consider and respect when using `version_update_changes` are: @@ -139,7 +139,7 @@ on: jobs: publish: name: Publish package and documentation - uses: SINTEF/ci-cd/.github/workflows/cd_release.yml@v2.7.1 + uses: SINTEF/ci-cd/.github/workflows/cd_release.yml@v2.7.2 if: github.repository == 'SINTEF/my-python-package' && startsWith(github.ref, 'refs/tags/v') with: git_username: "Casper Welzel Andersen" diff --git a/docs/workflows/ci_automerge_prs.md b/docs/workflows/ci_automerge_prs.md index 974bf210..8f25e53a 100644 --- a/docs/workflows/ci_automerge_prs.md +++ b/docs/workflows/ci_automerge_prs.md @@ -55,7 +55,7 @@ on: jobs: update-dependency-branch: name: Call external workflow - uses: SINTEF/ci-cd/.github/workflows/ci_automerge_prs.yml@v2.7.1 + uses: SINTEF/ci-cd/.github/workflows/ci_automerge_prs.yml@v2.7.2 if: github.repository_owner == 'SINTEF' && ( ( startsWith(github.event.pull_request.head.ref, 'dependabot/') && github.actor == 'dependabot[bot]' ) || ( github.event.pull_request.head.ref == 'ci/update-pyproject' && github.actor == 'CasperWA' ) ) secrets: PAT: ${{ secrets.RELEASE_PAT }} @@ -76,7 +76,7 @@ on: jobs: update-dependency-branch: name: Call external workflow - uses: SINTEF/ci-cd/.github/workflows/ci_automerge_prs.yml@v2.7.1 + uses: SINTEF/ci-cd/.github/workflows/ci_automerge_prs.yml@v2.7.2 if: github.repository_owner == 'SINTEF' && ( ( startsWith(github.event.pull_request.head.ref, 'dependabot/') && github.actor == 'dependabot[bot]' ) || ( github.event.pull_request.head.ref == 'ci/update-pyproject' && github.actor == 'CasperWA' ) ) with: perform_changes: true @@ -100,7 +100,7 @@ on: jobs: update-dependency-branch: name: Call external workflow - uses: SINTEF/ci-cd/.github/workflows/ci_automerge_prs.yml@v2.7.1 + uses: SINTEF/ci-cd/.github/workflows/ci_automerge_prs.yml@v2.7.2 if: github.repository_owner == 'SINTEF' && ( ( startsWith(github.event.pull_request.head.ref, 'dependabot/') && github.actor == 'dependabot[bot]' ) || ( github.event.pull_request.head.ref == 'ci/update-pyproject' && github.actor == 'CasperWA' ) ) with: perform_changes: true diff --git a/docs/workflows/ci_cd_updated_default_branch.md b/docs/workflows/ci_cd_updated_default_branch.md index 1a768a1f..454907d1 100644 --- a/docs/workflows/ci_cd_updated_default_branch.md +++ b/docs/workflows/ci_cd_updated_default_branch.md @@ -103,7 +103,7 @@ on: jobs: updates-to-stable: name: Call external workflow - uses: SINTEF/ci-cd/.github/workflows/ci_cd_updated_default_branch.yml@v2.7.1 + uses: SINTEF/ci-cd/.github/workflows/ci_cd_updated_default_branch.yml@v2.7.2 if: github.repository_owner == 'SINTEF' with: git_username: "Casper Welzel Andersen" diff --git a/docs/workflows/ci_check_pyproject_dependencies.md b/docs/workflows/ci_check_pyproject_dependencies.md index c982b663..47079ea3 100644 --- a/docs/workflows/ci_check_pyproject_dependencies.md +++ b/docs/workflows/ci_check_pyproject_dependencies.md @@ -37,7 +37,7 @@ Here is an example of different lines given as value for the `ignore` option tha # ... jobs: check-dependencies: - uses: SINTEF/ci-cd/.github/workflows/ci_check_pyproject_dependencies.yml@v2.7.1 + uses: SINTEF/ci-cd/.github/workflows/ci_check_pyproject_dependencies.yml@v2.7.2 with: # ... # For Sphinx, ignore all updates for/from version 4.5.0 and up / keep the minimum version for Sphinx at 4.5.0. @@ -96,7 +96,7 @@ on: jobs: check-dependencies: name: Call external workflow - uses: SINTEF/ci-cd/.github/workflows/ci_check_pyproject_dependencies.yml@v2.7.1 + uses: SINTEF/ci-cd/.github/workflows/ci_check_pyproject_dependencies.yml@v2.7.2 if: github.repository_owner == 'SINTEF' with: git_username: "Casper Welzel Andersen" diff --git a/docs/workflows/ci_tests.md b/docs/workflows/ci_tests.md index c627c757..f4a8ecdc 100644 --- a/docs/workflows/ci_tests.md +++ b/docs/workflows/ci_tests.md @@ -163,7 +163,7 @@ on: jobs: tests: name: Run basic tests - uses: SINTEF/ci-cd/.github/workflows/ci_tests.yml@v2.7.1 + uses: SINTEF/ci-cd/.github/workflows/ci_tests.yml@v2.7.2 with: python_version_pylint_safety: "3.8" python_version_docs: "3.7" @@ -191,7 +191,7 @@ on: jobs: tests: name: Run basic tests - uses: SINTEF/ci-cd/.github/workflows/ci_tests.yml@v2.7.1 + uses: SINTEF/ci-cd/.github/workflows/ci_tests.yml@v2.7.2 with: python_version_pylint_safety: "3.8" python_version_docs: "3.7" diff --git a/docs/workflows/ci_update_dependencies.md b/docs/workflows/ci_update_dependencies.md index d82551ea..bb67fc82 100644 --- a/docs/workflows/ci_update_dependencies.md +++ b/docs/workflows/ci_update_dependencies.md @@ -65,7 +65,7 @@ on: jobs: check-dependencies: name: Call external workflow - uses: SINTEF/ci-cd/.github/workflows/ci_update_dependencies.yml@v2.7.1 + uses: SINTEF/ci-cd/.github/workflows/ci_update_dependencies.yml@v2.7.2 if: github.repository_owner == 'SINTEF' with: git_username: "Casper Welzel Andersen"