Replaced whitelist reference with allowlist (#42071)

Summary:
Fixes https://github.com/pytorch/pytorch/issues/41741

Replaced whitelist reference with allowlist.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/42071

Reviewed By: pbelevich

Differential Revision: D22795176

Pulled By: SplitInfinity

fbshipit-source-id: bcf1b8afe516b9684ce0298bc257ef81152ba20c
This commit is contained in:
Khalid Almufti 2020-07-28 12:27:25 -07:00 committed by Facebook GitHub Bot
parent 64965c4572
commit 030ab2bda5

View file

@ -35,7 +35,7 @@ jobs:
HEAD_SHA=${{ github.event.pull_request.head.sha }}
MERGE_BASE=$(git merge-base $BASE_SHA $HEAD_SHA)
# only run clang-format on whitelisted files
# only run clang-format on allowlisted files
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
echo "| clang-format failures found! Run: "
echo "| tools/clang_format_ci.sh ${MERGE_BASE} "