Unverified Commit f06c50e0 authored by Allison Suarez Miranda's avatar Allison Suarez Miranda Committed by GitHub

fix: add changelog file (#907)

* "New release for 3.3.1"

Automatically generated by python-semantic-release

* trying to preserve format of changelog
Signed-off-by: 's avatarAllison Suarez Miranda <asuarezmiranda@lyft.com>

* revent v bump
Signed-off-by: 's avatarAllison Suarez Miranda <asuarezmiranda@lyft.com>

* added changelog file to persist through actions
Signed-off-by: 's avatarAllison Suarez Miranda <asuarezmiranda@lyft.com>

* removed changelog call from PR creations tep
Signed-off-by: 's avatarAllison Suarez Miranda <asuarezmiranda@lyft.com>

* removed unnnecesary variable
Signed-off-by: 's avatarAllison Suarez Miranda <asuarezmiranda@lyft.com>

* ssetup cron to run the first day of every month at 12am
Signed-off-by: 's avatarAllison Suarez Miranda <asuarezmiranda@lyft.com>

Co-authored-by: semantic-release <semantic-release>
parent 8686f81e
......@@ -2,7 +2,7 @@ name: Monthly Release
on:
schedule:
- cron: 15 20 19 * *
- cron: 0 0 1 * *
workflow_dispatch:
logLevel:
description: "Log level"
......@@ -30,7 +30,7 @@ jobs:
git config user.email github-actions@github.com
semantic-release version
echo ::set-output name=version::$(semantic-release print-version --current)
echo ::set-output name=difflog::"$(semantic-release changelog)"
echo semantic-release changelog > './CHANGELOG.md'
- name: Create release pull request
uses: peter-evans/create-pull-request@v3
with:
......@@ -40,7 +40,6 @@ jobs:
title: Bumped version for release ${{ steps.semantic-release.outputs.version }}
body: |
Bumped version to ${{ steps.semantic-release.outputs.version }}
${{ steps.semantic-release.outputs.difflog }}
team-reviewers: amundsen-io/amundsen-committers
branch: ${{ env.BRANCH_NAME }}
delete-branch: true
......
......@@ -7,6 +7,7 @@ on:
paths:
# triggered when version is bumped
- "setup.py"
- "CHANGELOG.md"
jobs:
release:
runs-on: ubuntu-latest
......@@ -29,7 +30,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.vers.outputs.version }}
release_name: New features & Bug Fixes
release_name: New Features & Bug Fixes
body_path: ./CHANGELOG.md
- name: Add wheel dependency
run: pip install wheel
- name: Generate dist
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment