Skip to content

Update Changelog (#5972) #104

Update Changelog (#5972)

Update Changelog (#5972) #104

Workflow file for this run

name: V2 Licenses
on:
push:
branches: [ v2 ]
workflow_dispatch:
jobs:
licenses:
runs-on: ubuntu-latest
if: github.repository == 'SeldonIO/seldon-core' # Do not run this on forks.
steps:
- name: Get github access token
run: |
echo ${{ secrets.GH_API_TOKEN }} > ~/.github_api_token
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: false
- name: Install Dependencies
run: |
make install-go-license-tools
- name: Generate Licenses
run: |
make update-3rd-party-licenses
git --no-pager diff --name-only --exit-code
- name: Open PR with License Changes
if: ${{ failure() }}
uses: peter-evans/create-pull-request@v6
with:
commit-message: Re-generate license info
branch: licenses/license-change
branch-suffix: timestamp
delete-branch: true
title: Re-generate License Info
body: "
# License Change Detected :warning:\n
Most likely, this has been triggered due to a licensing change in
one of our subdependencies, or the introduction of a new
subdependency.
This automated PR will re-generate the licenses to keep them up to
date."
reviewers: sakoush, lc525