mirror of https://github.com/apache/superset.git
fix(actions): specify branch on monorepo lockfile pusher (#26949)
This commit is contained in:
parent
5ed8f6784f
commit
83acac3e43
|
@ -35,4 +35,5 @@ jobs:
|
|||
git config user.name "GitHub-Actions[bot]"
|
||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git add package-lock.json
|
||||
git diff --staged --quiet || (git commit -m "Update lock file for Dependabot PR" -a && git push https://${{ github.token }}@github.com/${{ github.repository }}.git)
|
||||
# Push the changes back to the branch if they exist, and pass if there are no changes
|
||||
git diff --staged --quiet || (git commit -m "Update lock file for Dependabot PR" -a && git push https://${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} ${{github.head_ref}})
|
||||
|
|
Loading…
Reference in New Issue