chore: shmft (#36)
Some checks are pending
integration / integration (push) Waiting to run

Reviewed-on: https://code.forgejo.org/actions/cascading-pr/pulls/36
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
This commit is contained in:
Earl Warren 2025-07-20 05:38:43 +00:00 committed by earl-warren
parent 98b48e57d7
commit 06248c771c
No known key found for this signature in database
GPG key ID: F128CBE6AB3A7201
5 changed files with 526 additions and 518 deletions

View file

@ -1,3 +1,10 @@
root = true
[*]
tab_width: 8
indent_style = space
indent_size = 4
tab_width = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

View file

@ -86,7 +86,10 @@ function login_api() {
else
echo "$token" >$DOT/token
fi
( echo -n "Authorization: token " ; cat $DOT/token ) > $DOT/header-token
(
echo -n "Authorization: token "
cat $DOT/token
) >$DOT/header-token
#
# Verify it works
#
@ -165,7 +168,6 @@ function logout() {
fi
}
function usage() {
cat >&2 <<EOF
forgejo-curl.sh - thin curl wrapper that helps with Forgejo authentication

View file

@ -149,7 +149,6 @@ function delete_pull_requests() {
done
}
function create_pull_request() {
local baseowner=$1 headowner=$2 repo=$3