mirror of
https://github.com/apache/superset.git
synced 2026-04-17 07:05:04 +00:00
fix(actions): specify branch on monorepo lockfile pusher (#26949)
This commit is contained in:
@@ -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}})
|
||||
|
||||
Reference in New Issue
Block a user