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 5a9be9586de..599fc2dfef4 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 1cb55bcbb7d41b3e488557364eef579fc713c20f Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 8 Sep 2024 02:29:28 +0000 Subject: [PATCH 2/2] fix: docs/apis/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-5927133 - https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-5927133 - https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-5927133 - https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-5927133 - https://snyk.io/vuln/SNYK-DEBIAN11-NGHTTP2-5953384 --- docs/apis/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/apis/Dockerfile b/docs/apis/Dockerfile index 5ff708de545..ba6dfbe0092 100644 --- a/docs/apis/Dockerfile +++ b/docs/apis/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.17 +FROM golang:1.23.0 RUN apt-get update && apt-get -y upgrade && apt-get -y install git