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