Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

πŸ”§ Workflow upgrades and clearer outputs

Alicia Sykes0c981210b0fe
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7cd47b41..aab64748 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -213,7 +213,7 @@ jobs:
fetch-depth: 0
- name: Scan PR Diff for Secrets
- uses: trufflesecurity/[email protected]
+ uses: trufflesecurity/[email protected]
with:
base: ${{ github.event.pull_request.base.sha }}
head: ${{ github.event.pull_request.head.sha }}
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index 487be151..196dd0d5 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -285,6 +285,7 @@ jobs:
subject-digest: ${{ steps.manifest.outputs.digest }}
sbom-path: sbom.spdx.json
push-to-registry: true
+ show-summary: false
- name: πŸ›‘οΈ Attest build provenance
id: attest_provenance
@@ -294,6 +295,7 @@ jobs:
subject-name: ${{ env.GH_IMAGE }}
subject-digest: ${{ steps.manifest.outputs.digest }}
push-to-registry: true
+ show-summary: false
- name: πŸ“‹ Job summary
if: always()
@@ -319,8 +321,6 @@ jobs:
esac
}
- # Replace the attest actions' auto-added blocks with our own summary
- : > "$GITHUB_STEP_SUMMARY"
{
echo "## Attestations"
echo
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index c4f7c581..51d1319b 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -86,12 +86,14 @@ jobs:
CHECKSUM="${TARBALL}.sha256"
sha256sum "$TARBALL" > "$CHECKSUM"
echo "file=$CHECKSUM" >> "$GITHUB_OUTPUT"
+ echo "sha256=$(cut -d' ' -f1 "$CHECKSUM")" >> "$GITHUB_OUTPUT"
- name: πŸͺͺ Generate build provenance attestation
id: attest
uses: actions/attest-build-provenance@v4
with:
subject-path: ${{ steps.package.outputs.tarball }}
+ show-summary: false
- name: πŸ“€ Rename attestation bundle
id: attest_asset
@@ -143,21 +145,25 @@ jobs:
RELEASE_URL: ${{ steps.release.outputs.url }}
TARBALL: ${{ steps.package.outputs.tarball }}
SIZE: ${{ steps.package.outputs.size }}
+ SHA256: ${{ steps.checksum.outputs.sha256 }}
ATTEST_URL: ${{ steps.attest.outputs.attestation-url }}
run: |
set -euo pipefail
{
- echo "## πŸš€ Release Draft"
+ echo "## πŸš€ Dashy Release ${TAG}"
echo ""
echo "| Item | Value |"
echo "|------|-------|"
- echo "| Tag | [\`${TAG}\`](${REPO_URL}/releases/tag/${TAG}) |"
+ echo "| New Tag | [\`${TAG}\`](${REPO_URL}/releases/tag/${TAG}) |"
if [ -n "$PREV_TAG" ]; then
- echo "| Notes since | [\`${PREV_TAG}\`](${REPO_URL}/releases/tag/${PREV_TAG}) |"
+ echo "| Previous Tag | [\`${PREV_TAG}\`](${REPO_URL}/releases/tag/${PREV_TAG}) |"
fi
if [ -n "$TARBALL" ]; then
echo "| Tarball | \`${TARBALL}\` (${SIZE:-?}) |"
fi
+ if [ -n "$SHA256" ]; then
+ echo "| SHA256 | \`${SHA256}\` |"
+ fi
if [ -n "$ATTEST_URL" ]; then
echo "| Attestation | βœ… [View](${ATTEST_URL}) |"
else