π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
π· Updates versions for GH actions
Alicia Sykes742335ba3a13
diff --git a/.github/workflows/bump-and-tag.yml b/.github/workflows/bump-and-tag.ymlindex 9123b2b6..cc05dd88 100644--- a/.github/workflows/bump-and-tag.yml+++ b/.github/workflows/bump-and-tag.yml@@ -124,7 +124,7 @@ jobs:run: |npm version patch --no-git-tag-versiongit add package.json- git commit -m "β¬οΈ Bump version to $(node -p "require('./package.json').version")"+ git commit -m "π Bump version to $(node -p "require('./package.json').version")"git push- name: Create and push tag π·οΈdiff --git a/.github/workflows/docker-build-publish.yml b/.github/workflows/docker-build-publish.ymlindex b1112533..2b3c7684 100644--- a/.github/workflows/docker-build-publish.yml+++ b/.github/workflows/docker-build-publish.yml@@ -23,11 +23,11 @@ jobs:steps:- name: ποΈ Checkout Repo- uses: actions/checkout@v4+ uses: actions/checkout@v6- name: ποΈ Make Docker Metaid: meta- uses: docker/metadata-action@v5+ uses: docker/metadata-action@v6with:images: |${{ env.DH_IMAGE }}@@ -48,31 +48,31 @@ jobs:org.opencontainers.image.licenses=MIT- name: π§ Set up QEMU- uses: docker/setup-qemu-action@v3+ uses: docker/setup-qemu-action@v4with:platforms: linux/amd64,linux/arm64,linux/arm/v7- name: π§ Set up Docker Buildx- uses: docker/setup-buildx-action@v3+ uses: docker/setup-buildx-action@v4- name: π Login to DockerHub- uses: docker/login-action@v3+ uses: docker/login-action@v4with:username: ${{ secrets.DOCKER_USERNAME }}password: ${{ secrets.DOCKER_PASSWORD }}- name: π Login to GitHub Container Registry- uses: docker/login-action@v3+ uses: docker/login-action@v4with:registry: ghcr.iousername: ${{ github.repository_owner }}password: ${{ secrets.GITHUB_TOKEN }}- name: π¦ Check Registry Status- uses: crazy-max/ghaction-docker-status@v3+ uses: crazy-max/ghaction-docker-status@v4- name: βοΈ Build and push- uses: docker/build-push-action@v6+ uses: docker/build-push-action@v7with:context: .file: ./Dockerfilediff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.ymlindex ea01e183..7fc6fe18 100644--- a/.github/workflows/draft-release.yml+++ b/.github/workflows/draft-release.yml@@ -10,48 +10,94 @@ on:description: 'Tag to draft a release for (must already exist)'required: true+permissions:+ contents: write+jobs:create-draft-release:runs-on: ubuntu-latest+ env:+ TAG: ${{ github.event.inputs.tag || github.ref_name }}steps:- name: Checkout code ποΈ- uses: actions/checkout@v4+ uses: actions/checkout@v6with:fetch-depth: 0- name: Check if major or minor version changed πid: version_check+ env:+ CURRENT_TAG: ${{ github.event.inputs.tag || github.ref_name }}run: |- CURRENT_TAG="${{ github.event.inputs.tag || github.ref_name }}"git fetch --tags --force- PREVIOUS_TAG=$(git tag --sort=-version:refname | grep -v "^${CURRENT_TAG}$" | head -1)+ CURRENT_MM=$(echo "$CURRENT_TAG" | sed 's/^v//; s/\([0-9]*\.[0-9]*\)\..*/\1/')++ # Find the immediately previous tag (to detect patch-only bumps)+ PREVIOUS_TAG=$(git tag --sort=-version:refname \+ | grep -v "^${CURRENT_TAG}$" | head -1)+if [ -z "$PREVIOUS_TAG" ]; thenecho "No previous tag found, creating release"echo "should_release=true" >> $GITHUB_OUTPUT+ echo "previous_tag=" >> $GITHUB_OUTPUTexit 0fi- CURRENT_MM=$(echo "$CURRENT_TAG" | sed 's/^v//; s/\([0-9]*\.[0-9]*\)\..*/\1/')+PREVIOUS_MM=$(echo "$PREVIOUS_TAG" | sed 's/^v//; s/\([0-9]*\.[0-9]*\)\..*/\1/')if [ "$CURRENT_MM" = "$PREVIOUS_MM" ]; then- echo "Patch-only bump ($PREVIOUS_TAG -> $CURRENT_TAG), skipping release"+ echo "Patch-only bump ($PREVIOUS_TAG -> $CURRENT_TAG), skipping"echo "should_release=false" >> $GITHUB_OUTPUT- else- echo "Major or minor bump ($PREVIOUS_TAG -> $CURRENT_TAG), creating release"- echo "should_release=true" >> $GITHUB_OUTPUT+ echo "previous_tag=" >> $GITHUB_OUTPUT+ exit 0fi- - name: Create Draft Release π+ # Minor/major bump β find the last tag from the previous release+ PREV_RELEASE_TAG=$(git tag --sort=-version:refname | while read -r t; do+ [ "$t" = "$CURRENT_TAG" ] && continue+ t_mm=$(echo "$t" | sed 's/^v//; s/\([0-9]*\.[0-9]*\)\..*/\1/')+ if [ "$t_mm" != "$CURRENT_MM" ]; then echo "$t"; break; fi+ done)+ echo "Minor/major bump, comparing against ${PREV_RELEASE_TAG:-$PREVIOUS_TAG}"+ echo "should_release=true" >> $GITHUB_OUTPUT+ echo "previous_tag=${PREV_RELEASE_TAG:-$PREVIOUS_TAG}" >> $GITHUB_OUTPUT++ - name: Create draft release πif: steps.version_check.outputs.should_release == 'true' || github.event_name == 'workflow_dispatch'id: create_releaseuses: softprops/action-gh-release@v2with:- tag_name: ${{ github.event.inputs.tag || github.ref_name }}- name: Release ${{ github.event.inputs.tag || github.ref_name }}+ tag_name: ${{ env.TAG }}+ name: Release ${{ env.TAG }}draft: trueprerelease: falsegenerate_release_notes: true+ previous_tag: ${{ steps.version_check.outputs.previous_tag }}token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}- - name: Output new release URL βοΈ- if: steps.create_release.outputs.url- run: 'echo "Draft release URL: ${{ steps.create_release.outputs.url }}"'+ - name: Job summary π+ if: always()+ env:+ REPO_URL: ${{ github.server_url }}/${{ github.repository }}+ SHOULD_RELEASE: ${{ steps.version_check.outputs.should_release }}+ RELEASE_URL: ${{ steps.create_release.outputs.url }}+ PREV_TAG: ${{ steps.version_check.outputs.previous_tag }}+ run: |+ {+ echo "## ποΈ Draft Release"+ echo ""+ echo "| Step | Result |"+ echo "|------|--------|"+ echo "| Tag | [\`${TAG}\`](${REPO_URL}/releases/tag/${TAG}) |"++ if [ -n "$PREV_TAG" ]; then+ echo "| Compared against | [\`${PREV_TAG}\`](${REPO_URL}/releases/tag/${PREV_TAG}) |"+ fi++ if [ -n "$RELEASE_URL" ]; then+ echo "| Draft release | β [Review and publish](${RELEASE_URL}) |"+ elif [ "$SHOULD_RELEASE" = "false" ]; then+ echo "| Draft release | βοΈ Skipped (patch-only bump) |"+ else+ echo "| Draft release | β Failed |"+ fi+ } >> "$GITHUB_STEP_SUMMARY"diff --git a/.github/workflows/manual-tag.yml b/.github/workflows/manual-tag.ymlindex 8248180c..85cf5ff0 100644--- a/.github/workflows/manual-tag.yml+++ b/.github/workflows/manual-tag.yml@@ -19,7 +19,7 @@ jobs:steps:- name: Check Out Repository ποΈ- uses: actions/checkout@v4+ uses: actions/checkout@v6with:token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}fetch-depth: 0diff --git a/.github/workflows/pr-quality-check.yml b/.github/workflows/pr-quality-check.ymlindex e8a173ea..18b3ed00 100644--- a/.github/workflows/pr-quality-check.yml+++ b/.github/workflows/pr-quality-check.yml@@ -16,10 +16,10 @@ jobs:runs-on: ubuntu-lateststeps:- name: ποΈ Checkout Code- uses: actions/checkout@v4+ uses: actions/checkout@v6- name: π§ Setup Node.js- uses: actions/setup-node@v4+ uses: actions/setup-node@v6with:node-version: '20'cache: 'yarn'@@ -35,10 +35,10 @@ jobs:runs-on: ubuntu-lateststeps:- name: ποΈ Checkout Code- uses: actions/checkout@v4+ uses: actions/checkout@v6- name: π§ Setup Node.js- uses: actions/setup-node@v4+ uses: actions/setup-node@v6with:node-version: '20'cache: 'yarn'@@ -54,10 +54,10 @@ jobs:runs-on: ubuntu-lateststeps:- name: ποΈ Checkout Code- uses: actions/checkout@v4+ uses: actions/checkout@v6- name: π§ Setup Node.js- uses: actions/setup-node@v4+ uses: actions/setup-node@v6with:node-version: '20'cache: 'yarn'@@ -88,7 +88,7 @@ jobs:continue-on-error: truesteps:- name: ποΈ Checkout Code- uses: actions/checkout@v4+ uses: actions/checkout@v6- name: π³ Build & Test Docker Imagerun: sh tests/docker-smoke-test.sh@@ -101,10 +101,10 @@ jobs:# continue-on-error: true# steps:# - name: ποΈ Checkout Code- # uses: actions/checkout@v4+ # uses: actions/checkout@v6## - name: π§ Setup Node.js- # uses: actions/setup-node@v4+ # uses: actions/setup-node@v6# with:# node-version: '20'# cache: 'yarn'diff --git a/.github/workflows/update-docs-site.yml b/.github/workflows/update-docs-site.ymlindex c7f62a84..53faf44b 100644--- a/.github/workflows/update-docs-site.yml+++ b/.github/workflows/update-docs-site.yml@@ -26,13 +26,13 @@ jobs:runs-on: ubuntu-lateststeps:- name: Checkout master branch ποΈ- uses: actions/checkout@v4+ uses: actions/checkout@v6with:path: 'master-docs'token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}- name: Checkout WEBSITE/docs-site-source branch ποΈ- uses: actions/checkout@v4+ uses: actions/checkout@v6with:ref: 'WEBSITE/docs-site-source'path: 'website-docs'@@ -40,12 +40,12 @@ jobs:token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}- name: Install Python π- uses: actions/setup-python@v4+ uses: actions/setup-python@v6with:python-version: '3.x'- name: Setup Node.js π’- uses: actions/setup-node@v4+ uses: actions/setup-node@v6with:node-version: '22'diff --git a/.github/workflows/wiki-sync.yml b/.github/workflows/wiki-sync.ymlindex f812712b..2d320b26 100644--- a/.github/workflows/wiki-sync.yml+++ b/.github/workflows/wiki-sync.yml@@ -9,7 +9,7 @@ jobs:runs-on: ubuntu-lateststeps:- name: Checkout- uses: actions/checkout@v4+ uses: actions/checkout@v6- name: Upload Docs to GH Wikiuses: docker://decathlon/wiki-page-creator-action:2.0.3env: