From 19d231e86abba0a805303baff47647b19cc7ce9e Mon Sep 17 00:00:00 2001 From: Spolti Date: Tue, 27 Aug 2024 18:13:41 -0300 Subject: [PATCH 1/2] test Signed-off-by: Spolti --- .github/workflows/odh-create-release-tag.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/odh-create-release-tag.yml b/.github/workflows/odh-create-release-tag.yml index 5a9be9586d..599fc2dfef 100644 --- a/.github/workflows/odh-create-release-tag.yml +++ b/.github/workflows/odh-create-release-tag.yml @@ -6,6 +6,9 @@ on: tag_name: description: 'Tag name for the new release' required: true + prev_tag_name: + description: 'Previous Tag name for change log' + required: true permissions: contents: write @@ -72,7 +75,7 @@ jobs: git config --global user.email "github-actions@github.com" git config --global user.name "GitHub Actions" git add config/overlays/odh/params.env - git commit -m "Update image refs for odh release." + git commit -m "Update image refs for odh release." || true #hack to not fail when there is nothing to commit - name: Create Tag id: create_tag @@ -90,6 +93,11 @@ jobs: with: ref: ${{ github.ref }} + - name: Generate Changelog + run: | + gh pr list --state merged --base ${{ github.event.inputs.prev_tag_name }} --head ${{ github.event.inputs.tag_name }} --json title,author,number | \ + jq -r '.[] | "* \(.title) by @\(.author.login) in #\(.number)"' > CHANGELOG.md + - name: Create Release uses: softprops/action-gh-release@v2 with: From a9ffdb9769bc39fdd4950e41db6b35597494080c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 6 Sep 2024 17:38:38 +0000 Subject: [PATCH 2/2] fix: docs/samples/explanation/aif/germancredit/server/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN12-GLIBC-5927132 - https://snyk.io/vuln/SNYK-DEBIAN12-GLIBC-5927132 - https://snyk.io/vuln/SNYK-DEBIAN12-GLIBC-6210098 - https://snyk.io/vuln/SNYK-DEBIAN12-GLIBC-6210098 - https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-7411315 --- docs/samples/explanation/aif/germancredit/server/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/samples/explanation/aif/germancredit/server/Dockerfile b/docs/samples/explanation/aif/germancredit/server/Dockerfile index c71833e6fe..ee0424741e 100644 --- a/docs/samples/explanation/aif/germancredit/server/Dockerfile +++ b/docs/samples/explanation/aif/germancredit/server/Dockerfile @@ -1,6 +1,6 @@ # Use the official lightweight Python image. # https://hub.docker.com/_/python -FROM python:3.7-slim +FROM python:3.13.0rc1-slim ENV APP_HOME /app WORKDIR $APP_HOME