We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d240f5d commit 831889cCopy full SHA for 831889c
.github/workflows/wrap.yml
@@ -73,16 +73,19 @@ jobs:
73
len=${#array[@]}
74
if [[ $len -eq 0 ]]; then
75
echo "No files to commit"
76
+ echo "WRAPPED=$("False")" >> $GITHUB_ENV
77
else
78
echo "Committing changes"
79
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
80
git config --local user.name "github-actions[bot]"
81
git add ${WRAPPED}
82
git commit -m "Wrap translations"
83
+ echo "WRAPPED=$("True")" >> $GITHUB_ENV
84
fi
85
86
# Push changes
87
- name: Push changes
88
+ if: ${{ WRAPPED == "True" }}
89
uses: ad-m/github-push-action@master
90
with:
91
github_token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments