diff --git a/.github/workflows/check_license.yml b/.github/workflows/check_license.yml index dabad5dde1c43..338397dbd6cbf 100644 --- a/.github/workflows/check_license.yml +++ b/.github/workflows/check_license.yml @@ -30,5 +30,5 @@ jobs: run: | git fetch --recurse-submodules=no origin main ${{github.event.pull_request.base.sha}} pip install regex - cd $GITHUB_WORKSPACE/.github/workflows/ - ./check.sh ${{github.event.pull_request.base.sha}} + cd $GITHUB_WORKSPACE/ + ./.github/workflows/util/check.sh ${{github.event.pull_request.base.sha}} diff --git a/.github/workflows/check.py b/.github/workflows/util/check.py similarity index 100% rename from .github/workflows/check.py rename to .github/workflows/util/check.py diff --git a/.github/workflows/check.sh b/.github/workflows/util/check.sh similarity index 90% rename from .github/workflows/check.sh rename to .github/workflows/util/check.sh index c2290e719090b..d8db8bd402c37 100755 --- a/.github/workflows/check.sh +++ b/.github/workflows/util/check.sh @@ -15,9 +15,9 @@ # limitations under the License. export BASE_COMMIT=$1 -./check.py header branch +./.github/workflows/util/check.py header branch if [ $? -ne 0 ]; then - ./check.py header branch --fix + ./.github/workflows/util/check.py header branch --fix echo -e "\n==== Apply using:" echo "patch -p1 \<