Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Security upgrade python from 3.7-slim to 3.13.0rc1-slim #367

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/odh-create-release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading