refactor!(action): detect when in private branches

This removes the need to use the private-repo-workaround input.
This commit is contained in:
Jalil David Salamé Messina 2024-12-19 21:56:16 +01:00
parent bff5365c60
commit 39f58ee538
Signed by: jalil
GPG key ID: F016B9E770737A0B
5 changed files with 125 additions and 69 deletions

View file

@ -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