Skip to content

Commit

Permalink
Update release workflow to print out incoming changes in job summary …
Browse files Browse the repository at this point in the history
…for easy review (#148)

* ci: Update release workflow to include the impending changes in the job summary for easy review.
  • Loading branch information
nfelt14 authored Feb 20, 2024
1 parent c49a713 commit 6c0dcbd
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/package-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,19 @@ jobs:
print-inputs:
runs-on: ubuntu-latest
steps:
- name: Create summary of workflow inputs
- uses: actions/checkout@v4
- 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
Expand Down

0 comments on commit 6c0dcbd

Please sign in to comment.