chore: inspect the repo secret
This commit is contained in:
1 file changed
+4
@@ -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)"
|
||||
Reference in new issue
Block a user