#!/bin/bash # Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. set -e ERR_CODE_UNCOMMITTED_API_CHANGE=1 ERR_CODE_CANT_FIND_PROJECT=2 ERR_CODE_BAD_COMMIT=3 # Delimit what we share with the users in PR / diffs MSG_START="=== MSG_START ===" MSG_END="=== MSG_END ===" WARNING_MESSAGE_HEADER=$(cat <