From 1e190f865eb2277d6a4385a99e62badc9e3e70a8 Mon Sep 17 00:00:00 2001 From: kekkon Date: Thu, 21 Nov 2024 19:58:56 +0100 Subject: [PATCH] Add more step summaries --- .github/workflows/pr-checks.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 5c50f52..28ac9ea 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -25,7 +25,7 @@ jobs: needs-check: ${{ steps.check_relevant_changes.outputs.code_or_cargo_changed }} steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: taiki-e/install-action@just - name: List changed files @@ -49,6 +49,8 @@ jobs: # Output the result echo "code_or_cargo_changed=$code_or_cargo_changed" >> $GITHUB_OUTPUT + echo "## Detected changes" >> $GITHUB_STEP_SUMMARY + printf "Changes to code detected: %s" $code_or_cargo_changed >> $GITHUB_STEP_SUMMARY - uses: swatinem/rust-cache@v2 - name: Install Rust toolchain @@ -73,6 +75,7 @@ jobs: done < changeset.txt if [[ ${#affected_packages[@]} -gt 0 ]]; then + printf "## Changelog report\n" >> $GITHUB_STEP_SUMMARY echo "One or more packages require an updated CHANGELOG.md. See job errors for details." >> $GITHUB_STEP_SUMMARY exit 1 else