From 2f30902134b26ad443830b0b137895a968788d56 Mon Sep 17 00:00:00 2001 From: Aurelien Gateau Date: Tue, 22 Aug 2023 10:38:23 +0200 Subject: [PATCH] chore(release): 1.18.1 --- CHANGELOG.md | 10 ++++++++++ actions/iac/action.yml | 2 +- actions/sca/action.yml | 2 +- actions/secret/action.yml | 2 +- ...paul.beslin.ext_update_github_action_iac_command.md | 3 --- .../20230818_111845_aurelien.gateau_fix_typo.md | 3 --- ...0230821_113358_xavier.blanchot_fix_sca_gitlab_ci.md | 3 --- ggshield/__init__.py | 2 +- 8 files changed, 14 insertions(+), 13 deletions(-) delete mode 100644 changelog.d/20230725_144801_paul.beslin.ext_update_github_action_iac_command.md delete mode 100644 changelog.d/20230818_111845_aurelien.gateau_fix_typo.md delete mode 100644 changelog.d/20230821_113358_xavier.blanchot_fix_sca_gitlab_ci.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 67bf8ea3d6..9a7216740a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog + + +## 1.18.1 — 2023-08-22 + +### Fixed + +- Fixed a bug which caused IaC and SCA scans to fail on GitLab CI because GitLab does not run `git fetch` on the target branch for merge requests. ggshield now runs `git fetch` itself to avoid this problem. + +- Fixed a typo in the command suggested to tell git a directory is safe. + ## 1.18.0 — 2023-08-16 diff --git a/actions/iac/action.yml b/actions/iac/action.yml index 007343fe1c..dcfc398665 100644 --- a/actions/iac/action.yml +++ b/actions/iac/action.yml @@ -21,7 +21,7 @@ branding: color: 'blue' runs: using: 'docker' - image: 'docker://gitguardian/ggshield:v1.18.0' + image: 'docker://gitguardian/ggshield:v1.18.1' entrypoint: '/app/docker/actions-iac-entrypoint.sh' args: - ${{ inputs.args }} diff --git a/actions/sca/action.yml b/actions/sca/action.yml index ff0c023878..64ff68e940 100644 --- a/actions/sca/action.yml +++ b/actions/sca/action.yml @@ -19,7 +19,7 @@ branding: color: 'blue' runs: using: 'docker' - image: 'docker://gitguardian/ggshield:v1.18.0' + image: 'docker://gitguardian/ggshield:v1.18.1' entrypoint: '/app/docker/actions-sca-entrypoint.sh' args: - ${{ inputs.args }} diff --git a/actions/secret/action.yml b/actions/secret/action.yml index fd253d79b8..8a52210972 100644 --- a/actions/secret/action.yml +++ b/actions/secret/action.yml @@ -21,7 +21,7 @@ inputs: runs: using: 'docker' - image: 'docker://gitguardian/ggshield:v1.18.0' + image: 'docker://gitguardian/ggshield:v1.18.1' entrypoint: '/app/docker/actions-secret-entrypoint.sh' args: - ${{ inputs.args }} diff --git a/changelog.d/20230725_144801_paul.beslin.ext_update_github_action_iac_command.md b/changelog.d/20230725_144801_paul.beslin.ext_update_github_action_iac_command.md deleted file mode 100644 index 0b3816e5c4..0000000000 --- a/changelog.d/20230725_144801_paul.beslin.ext_update_github_action_iac_command.md +++ /dev/null @@ -1,3 +0,0 @@ -### Changed - -- The IaC Github Action now executes the new `ggshield iac scan ci` command. This means the action will fail only if the changes introduce a new vulnerability. To fail if any vulnerability is detected, use the `ggshield iac scan ci --all` command diff --git a/changelog.d/20230818_111845_aurelien.gateau_fix_typo.md b/changelog.d/20230818_111845_aurelien.gateau_fix_typo.md deleted file mode 100644 index 7c9e3ccac1..0000000000 --- a/changelog.d/20230818_111845_aurelien.gateau_fix_typo.md +++ /dev/null @@ -1,3 +0,0 @@ -### Fixed - -- Fixed a typo in the command suggested to tell git a directory is safe. diff --git a/changelog.d/20230821_113358_xavier.blanchot_fix_sca_gitlab_ci.md b/changelog.d/20230821_113358_xavier.blanchot_fix_sca_gitlab_ci.md deleted file mode 100644 index 5046d225ed..0000000000 --- a/changelog.d/20230821_113358_xavier.blanchot_fix_sca_gitlab_ci.md +++ /dev/null @@ -1,3 +0,0 @@ -### Fixed - -- The bug on Gitlab CI for IaC and SCA, failing because git does not access the target branch in a merge request is fixed. Now fetches the target branch in the CI env before collecting commit shas. diff --git a/ggshield/__init__.py b/ggshield/__init__.py index 6cea18d86c..4a7bff5447 100644 --- a/ggshield/__init__.py +++ b/ggshield/__init__.py @@ -1 +1 @@ -__version__ = "1.18.0" +__version__ = "1.18.1"