We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 484901f commit 2ef03caCopy full SHA for 2ef03ca
.github/workflows/update-monorepo-lockfiles.yml
@@ -35,5 +35,5 @@ jobs:
35
git config user.name "GitHub-Actions[bot]"
36
git config user.email "github-actions[bot]@users.noreply.github.com"
37
git add package-lock.json
38
- git commit -m "Update lock file for Dependabot PR" -a # Commit the changes
39
- git push https://${{ github.token }}@github.com/${{ github.repository }}.git
+ git diff --staged --quiet || (git commit -m "Update lock file for Dependabot PR" -a && git push https://${{ github.token }}@github.com/${{ github.repository }}.git)
+
0 commit comments