Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

print out basic summary for release workflow (#79844)

Chris Vandoodewaardc980d85154d7
diff --git a/.github/workflows/tag-for-release.yml b/.github/workflows/tag-for-release.yml
index f21a3b4e4b6..1a8646658cf 100644
--- a/.github/workflows/tag-for-release.yml
+++ b/.github/workflows/tag-for-release.yml
@@ -60,6 +60,23 @@ jobs:
userName: '${{ github.actor }}',
channelName: '${{ vars.SLACK_RELEASE_CHANNEL }}',
}).catch(console.error);
+ - name: Write job summary
+ if: always()
+ uses: actions/github-script@v9
+ with:
+ script: | # js
+ const { owner, repo } = context.repo;
+ const commit = '${{ inputs.commit }}';
+ const version = '${{ inputs.version }}';
+
+ await core.summary
+ .addHeading(`🚀 ${version} Release Overview`)
+ .addList([
+ `Version: ${version}`,
+ `Release commit: <a href="https://github.com/${owner}/${repo}/commit/${commit}">${commit.slice(0, 7)}</a>`,
+ `Started by: @${{ github.actor }}`,
+ ])
+ .write();
check-version:
runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}