From 59a91c9ee0f8f4859e9c9e414611c94c6fbcbcd7 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Sat, 30 Sep 2023 17:41:03 +0530 Subject: [PATCH] chore(setup-lune_update): make use of github creds for push --- .github/workflows/action_update.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/action_update.yaml b/.github/workflows/action_update.yaml index d4dcb8a..2fe3ce7 100644 --- a/.github/workflows/action_update.yaml +++ b/.github/workflows/action_update.yaml @@ -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"