fix: use /pulls instead of /pulls/pinned #4

Merged
lyn merged 10 commits from fix/pr-list-endpoint into main 2026-04-01 17:09:04 +00:00
Showing only changes of commit 3930adf362 - Show all commits

View File

@@ -40,8 +40,8 @@ if ! secret-mgr list 2>/dev/null | grep -q "git-access-token"; then
"$SCRIPT_DIR/generate-access-token" "$SCRIPT_DIR/generate-access-token"
fi fi
# Get the access token # Get the access token (extract actual token from "Access token was successfully created: <token>")
GIT_TOKEN="$(secret-mgr get-secret --key git-access-token)" GIT_TOKEN="$(secret-mgr get-secret --key git-access-token | awk '{print $NF}')"
if [[ -z "$GIT_TOKEN" ]]; then if [[ -z "$GIT_TOKEN" ]]; then
echo "Error: Failed to get git-access-token" echo "Error: Failed to get git-access-token"