Skip to content

Commit 831889c

Browse files
committed
one more thing
1 parent d240f5d commit 831889c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/wrap.yml

+3
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,19 @@ jobs:
7373
len=${#array[@]}
7474
if [[ $len -eq 0 ]]; then
7575
echo "No files to commit"
76+
echo "WRAPPED=$("False")" >> $GITHUB_ENV
7677
else
7778
echo "Committing changes"
7879
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
7980
git config --local user.name "github-actions[bot]"
8081
git add ${WRAPPED}
8182
git commit -m "Wrap translations"
83+
echo "WRAPPED=$("True")" >> $GITHUB_ENV
8284
fi
8385
8486
# Push changes
8587
- name: Push changes
88+
if: ${{ WRAPPED == "True" }}
8689
uses: ad-m/github-push-action@master
8790
with:
8891
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)