refactor!(action): detect when in private branches
This removes the need to use the private-repo-workaround input.
This commit is contained in:
parent
bff5365c60
commit
39f58ee538
5 changed files with 125 additions and 69 deletions
8
utils.sh
8
utils.sh
|
@ -2,6 +2,14 @@ log() {
|
|||
echo "$@" >&2
|
||||
}
|
||||
|
||||
warn() {
|
||||
log "\e[0;33m[ERROR]:" "$@" "\e[0m"
|
||||
}
|
||||
|
||||
error() {
|
||||
log "\e[0;31m[WARN]:" "$@" "\e[0m"
|
||||
}
|
||||
|
||||
group() {
|
||||
log "::group::$1"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue