diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 226c56e..46e465c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -57,6 +57,11 @@ jobs: else echo "main.yml file is inconsistent" echo "MAIN_YML_FILES_INCONSISTENT=True" >> $GITHUB_OUTPUT + echo "::error title=main.yml file is inconsistent!::"\ + "The contents of your current branch's 'main.yml' file "\ + "do not match the contents of your upstream branch's "\ + "'main.yml' file! You need to synchronize the upstream "\ + "branch manually!" fi # 定义备份和还原的文件后缀列表