chore(setup-lune_update): make use of github creds for push

This commit is contained in:
Erica Marigold 2023-09-30 17:41:03 +05:30 committed by GitHub
parent 1ec11d7827
commit 59a91c9ee0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3
- name: Unset GitHub auth configs
run: git config --unset-all http.https://github.com/.extraheader
- name: Clone remote
run: git clone https://github.com/CompeyDev/setup-lune
@ -25,6 +28,6 @@ jobs:
git config --global user.email "hi@devcomp.xyz"
git config --global user.name "CI"
git diff --quiet || (git add -u && git commit -m "sync: CompeyDev/lune-packaging (${{ github.sha }})")
git push
git push https://CompeyDev:${{ secrets.GH_AUTH_TOKEN }}@github.com/CompeyDev/setup-lune.git main
working-directory: "setup-lune"