forked from walters954/why-salesforce
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alfredo
committed
Dec 17, 2024
1 parent
2ab68bf
commit c8f9f5f
Showing
1 changed file
with
5 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,9 +43,8 @@ jobs: | |
- name: Upload changes to base branch | ||
run: | | ||
HEAD_REF="${{ github.head_ref }}" | ||
if [ "$HEAD_REF" != "main" ]; then | ||
git config user.name "github-actions" | ||
git config user.email "[email protected]" | ||
git commit -am "deno formatting" | ||
git push | ||
fi | ||
BRANCH_TO_PUSH="${HEAD_REF:-main}" | ||
git config user.name "github-actions" | ||
git config user.email "[email protected]" | ||
git commit -am "deno formatting" | ||
git push https://x-access-token:${{ secrets.AWSF_PUSH_MAIN }}@github.com/${{ github.repository }} "$BRANCH_TO_PUSH" |