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
|
@ -116,7 +116,7 @@ pr_number=$(echo "$prs" |
|
|||
|
||||
# Protect against running before a PR is made or if it is triggered on the main branch
|
||||
if [ -z "$pr_number" ]; then
|
||||
log "No PR created for this commit"
|
||||
warn "No PR created for this commit"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue