From 0cb74e080b63ad06ecc18a526afcbdb001c86758 Mon Sep 17 00:00:00 2001 From: BlackAngelTVdev Date: Wed, 25 Nov 2026 11:14:37 +0100 Subject: [PATCH] chore: inspect the release secret --- .gitea/workflows/diag.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .gitea/workflows/diag.yml diff --git a/.gitea/workflows/diag.yml b/.gitea/workflows/diag.yml new file mode 100644 index 0000000..6e61a86 --- /dev/null +++ b/.gitea/workflows/diag.yml @@ -0,0 +1,17 @@ +name: diag +on: workflow_dispatch +jobs: + diag: + runs-on: arch-host + steps: + - name: Inspect the release secret + env: + RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }} + run: | + set -euo pipefail + t="${RELEASE_TOKEN:-}" + printf 'len=%s\n' "${#t}" + printf 'sha=%s\n' "$(printf '%s' "$t" | sha256sum | cut -d' ' -f1)" + printf 'server=%s\n' "$GITHUB_SERVER_URL" + printf 'repo=%s\n' "$GITHUB_REPOSITORY" + printf 'api=%s\n' "$GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY"