From 45e3b59228918f19f83c4aff8ca824d9111fa604 Mon Sep 17 00:00:00 2001 From: Nicholas Felt Date: Tue, 20 Feb 2024 07:51:08 -0800 Subject: [PATCH] ci: Update release workflow to include the impending changes in the job summary for easy review. --- .github/workflows/package-release.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/package-release.yml b/.github/workflows/package-release.yml index 5af0c19d..b4bb8d94 100644 --- a/.github/workflows/package-release.yml +++ b/.github/workflows/package-release.yml @@ -18,10 +18,18 @@ jobs: print-inputs: runs-on: ubuntu-latest steps: - - name: Create summary of workflow inputs + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: x + - name: Check for unreleased entries in the Changelog + run: python scripts/check_unreleased_changelog_items.py + - name: Create summary of workflow inputs and incoming changes run: | - echo "### inputs" >> $GITHUB_STEP_SUMMARY + echo "## Workflow Inputs" >> $GITHUB_STEP_SUMMARY echo "- release_level: ${{ inputs.release_level }}" >> $GITHUB_STEP_SUMMARY + echo "## Incoming Changes" >> $GITHUB_STEP_SUMMARY + cat python_semantic_release_templates/.previous_release_notes_for_template.md >> $GITHUB_STEP_SUMMARY # This job requires a Personal Access Token (Classic) with # the public_repo permission. It also needs a private/public # ssh key pair that can be used for signing. The public key must