CI: Diagnostik-Sonde für Secret im Arch-Job
All checks were successful
secret-probe / probe-arch (push) Successful in 1s
All checks were successful
secret-probe / probe-arch (push) Successful in 1s
This commit is contained in:
15
.gitea/workflows/probe.yml
Normal file
15
.gitea/workflows/probe.yml
Normal file
@ -0,0 +1,15 @@
|
||||
name: secret-probe
|
||||
on:
|
||||
push:
|
||||
jobs:
|
||||
probe-arch:
|
||||
runs-on: arch-base-devel
|
||||
env:
|
||||
HW_TOKEN: ${{ secrets.HW_RELEASE_TOKEN }}
|
||||
steps:
|
||||
- name: secret-echo-sicher
|
||||
run: |
|
||||
echo "curl da? $(command -v curl || echo FEHLT)"
|
||||
echo "ref_name set? ${GITHUB_REF_NAME:+ja len=${#GITHUB_REF_NAME}}"
|
||||
echo "token len in container: ${#HW_TOKEN}"
|
||||
echo "user-code: $(curl -sS -o /dev/null -w '%{http_code}' -H "Authorization: token $HW_TOKEN" https://git.wlkns.org/api/v1/user)"
|
||||
Reference in New Issue
Block a user