From 1fe8d3f513fbcef950b4b21677c93eb3db1b5759 Mon Sep 17 00:00:00 2001 From: Bernhard Kirchen Date: Sun, 18 Aug 2024 13:32:25 +0200 Subject: [PATCH] disable "based on OpenDTU" badge disabled as uploading the changed gist failed repeatedly. maybe the token in secrets.GIST_SECRET has expired? need help from repo owner @helgeerbe to fix this. --- .github/workflows/build.yml | 21 ++++++++++++--------- README.md | 3 +++ 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0a1eaa780..7ad0a0f93 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -139,15 +139,18 @@ jobs: run: | echo "OPEN_DTU_CORE_RELEASE=$(git for-each-ref --sort=creatordate --format '%(refname) %(creatordate)' refs/tags | grep 'refs/tags/v' | tail -1 | sed 's#.*/##' | sed 's/ .*//')" >> $GITHUB_ENV - - name: Create openDTU-core-release-Badge - uses: schneegans/dynamic-badges-action@v1.6.0 - with: - auth: ${{ secrets.GIST_SECRET }} - gistID: 68b47cc8c8994d04ab3a4fa9d8aee5e6 - filename: openDTUcoreRelease.json - label: based on original OpenDTU - message: ${{ env.OPEN_DTU_CORE_RELEASE }} - color: lightblue +# disabled as uploading the changed gist failed repeatedly. +# maybe the token in secrets.GIST_SECRET has expired? +# need help from repo owner @helgeerbe to fix this. +# - name: Create openDTU-core-release-Badge +# uses: schneegans/dynamic-badges-action@v1.6.0 +# with: +# auth: ${{ secrets.GIST_SECRET }} +# gistID: 68b47cc8c8994d04ab3a4fa9d8aee5e6 +# filename: openDTUcoreRelease.json +# label: based on original OpenDTU +# message: ${{ env.OPEN_DTU_CORE_RELEASE }} +# color: lightblue - name: Build Changelog id: github_release diff --git a/README.md b/README.md index d354549bf..02aa0d674 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,10 @@ This is a fork of [OpenDTU](https://github.com/tbnobody/OpenDTU). + [![OpenDTU-OnBattery Build](https://github.com/helgeerbe/OpenDTU-OnBattery/actions/workflows/build.yml/badge.svg)](https://github.com/helgeerbe/OpenDTU-OnBattery/actions/workflows/build.yml) [![cpplint](https://github.com/helgeerbe/OpenDTU-OnBattery/actions/workflows/cpplint.yml/badge.svg)](https://github.com/helgeerbe/OpenDTU-OnBattery/actions/workflows/cpplint.yml)