Skip to content

Commit

Permalink
use http.extraheader
Browse files Browse the repository at this point in the history
Signed-off-by: Yauheni Kaliuta <[email protected]>
  • Loading branch information
ykaliuta committed Mar 5, 2024
1 parent 5b44ae3 commit e405450
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ jobs:

- name: Push changes
run: |
git push "https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" downstream
git -c http.extraheader="AUTHORIZATION: bearer $GITHUB_TOKEN" push origin downstream
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit e405450

Please sign in to comment.