Skip to content

Commit 463a6a5

Browse files
committed
End-User meta workflow updated
1 parent eed6e47 commit 463a6a5

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/consistent-desc.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@ jobs:
4141
env:
4242
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4343
run: |
44-
git config --global user.name 'github-actions[bot]'
45-
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
46-
git add package.json
47-
git commit -m 'End-User Meta updated'
48-
git push
44+
if [ -f "package.json" ]; then
45+
git config --global user.name 'github-actions[bot]'
46+
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
47+
git add package.json
48+
git commit -m 'End-User Meta updated'
49+
git push
50+
fi

0 commit comments

Comments
 (0)