1
0
mirror of synced 2025-12-30 03:01:36 -05:00

Fix site-policy-sync workflow script error (#31588)

This commit is contained in:
Robert Sese
2022-10-10 17:42:19 -05:00
committed by GitHub
parent 948d29def3
commit cc354862cd

View File

@@ -61,7 +61,7 @@ jobs:
git config --local user.name 'site-policy-bot'
git config --local user.email 'site-policy-bot@github.com'
NUM_FILES_CHANGED=$(git diff --name-only HEAD^..HEAD | wc -l)
if [[ $NUM_FILES_CHANGED -ge 1]]
if [[ $NUM_FILES_CHANGED -ge 1 ]]
then
git push --set-upstream origin automated-sync-$GITHUB_RUN_ID
else