diff --git a/.github/scripts/publish-unpublished-rpms-to-archive.sh b/.github/scripts/publish-unpublished-rpms-to-archive.sh index 4f905e82b4b6..89e0063fe482 100755 --- a/.github/scripts/publish-unpublished-rpms-to-archive.sh +++ b/.github/scripts/publish-unpublished-rpms-to-archive.sh @@ -65,7 +65,10 @@ echo "RPMs missing in archive:" ls -lh *.rpm echo + UPLOAD_FAILED=false +echo "GitHub event: $GITHUB_EVENT_NAME" + if [ "$GITHUB_EVENT_NAME" == "pull_request" ]; then for rpm in $(ls *.rpm); do echo "Uploading $rpm ..."