https://github.com/python/cpython/commit/ee2ddc2d445dd6b549710d3fbf729805e0d97cd3 commit: ee2ddc2d445dd6b549710d3fbf729805e0d97cd3 branch: 3.10 author: Pablo Galindo Salgado <Pablogsal at gmail.com> committer: pablogsal <Pablogsal at gmail.com> date: 2022年06月22日T22:22:24+01:00 summary: [3.10] Add an error message to the ABI-dump file check (#94131) files: M .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 61cbef982a9ef..b98514aaf9452 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -73,7 +73,16 @@ jobs: ./configure --enable-shared make -j4 - name: Check for changes in the ABI - run: make check-abidump + run: | + make check-abidump + if [ $? -neq 0 ] ; then + echo "Generated ABI file is not up to date." + echo "Please, add the release manager of this branch as a reviewer of this PR." + echo "" + echo "To learn more about this check, please visit: https://devguide.python.org/setup/?highlight=abi#regenerate-the-abi-dump" + echo "" + exit 1 + fi check_generated_files: name: 'Check if generated files are up to date'