Strengthen credential security rules after violation

This commit is contained in:
Hoid 2026-02-09 00:11:27 +00:00
parent 66423cf66b
commit faff102d34
7 changed files with 136 additions and 29 deletions

View file

@ -2,10 +2,10 @@
# Forgejo CLI helper - token-efficient output
set -e
FORGEJO_URL="https://git.cloonar.com"
TOKEN="03e35afac87cd3d8db7d4a186714dacf584c01f7"
CRED_FILE="${CRED_FILE:-$(dirname "$0")/../.credentials/services.env}"
source "$CRED_FILE"
CURL="curl -sk -H \"Authorization: token ${TOKEN}\""
CURL="curl -sk -H \"Authorization: token ${FORGEJO_TOKEN}\""
usage() {
cat <<EOF