mirror of
https://code.forgejo.org/actions/cascading-pr.git
synced 2025-07-21 23:08:23 +02:00
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:
parent
98b48e57d7
commit
06248c771c
5 changed files with 526 additions and 518 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -149,7 +149,6 @@ function delete_pull_requests() {
|
|||
done
|
||||
}
|
||||
|
||||
|
||||
function create_pull_request() {
|
||||
local baseowner=$1 headowner=$2 repo=$3
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue