mirror of
https://github.com/RetroDECK/components-template.git
synced 2024-11-24 12:15:38 +00:00
PR: troubleshooting the PR not being created
This commit is contained in:
parent
46a278f4a0
commit
7c2b6e3496
4
.github/workflows/pr_from_upstream.yml
vendored
4
.github/workflows/pr_from_upstream.yml
vendored
|
@ -76,9 +76,9 @@ jobs:
|
|||
fi
|
||||
|
||||
# Check if any changes were introduced by the merge
|
||||
if git diff --exit-code; then
|
||||
if [ -z "$(git diff --stat)" ]; then
|
||||
echo "No changes detected after merging. Exiting."
|
||||
exit 0 # Exit the workflow if no changes are detected
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo "BRANCH_NAME=${BRANCH_NAME}" >> $GITHUB_ENV
|
||||
|
|
Loading…
Reference in a new issue