chore: inspect the repo secret

This commit is contained in:
BlackAngelTV committed 2026-11-25 11:15:46 +01:00
1 parent 0cb74e080b
commit fa2b13fb53
1 file changed
+4
+4
View File
@@ -7,6 +7,7 @@ jobs:
- name: Inspect the release secret
env:
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
REPO_TOKEN: ${{ secrets.REPO_TOKEN }}
run: |
set -euo pipefail
t="${RELEASE_TOKEN:-}"
@@ -15,3 +16,6 @@ jobs:
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"
r="${REPO_TOKEN:-}"
printf 'repo_len=%s\n' "${#r}"
printf 'repo_sha=%s\n' "$(printf '%s' "$r" | sha256sum | cut -d' ' -f1)"