diff --git a/.github/workflows/issue.yml b/.github/workflows/issue.yml index 05c8fd8..67b8179 100644 --- a/.github/workflows/issue.yml +++ b/.github/workflows/issue.yml @@ -89,11 +89,11 @@ jobs: if: steps.add_entry.outputs.push_entry == 'YES' && steps.verify_user.outputs.result == 'YES' && steps.add_entry.outputs.has_issues == 'NO' working-directory: ${{ github.workspace }}/clicks run: | - git config --local user.name "Click Sound Adder" + git config --global user.name "Click Sound Adder" git add -A git commit -m "New click from $ISSUE_AUTHOR - ${{ steps.add_entry.outputs.mod_id }}" - git config --local user.email "${{ secrets.COOP_BOT_EMAIL }}" - git remote set-url origin "https://x-access-token:${{ secrets.COOP_BOT_PUSH_BIN_TOKEN }}@github.com/clicksounds/clicks.git" + git config --global user.email "${{ secrets.COOP_BOT_EMAIL }}" + git remote set-url origin "https://coopeeobot:${{ secrets.COOP_BOT_PUSH_BIN_TOKEN }}@github.com/clicksounds/clicks.git" git push -u origin main env: ISSUE_AUTHOR: ${{ github.event.issue.user.login }} diff --git a/.github/workflows/issuecomment.yml b/.github/workflows/issuecomment.yml index 8da5a44..49dae86 100644 --- a/.github/workflows/issuecomment.yml +++ b/.github/workflows/issuecomment.yml @@ -82,11 +82,11 @@ jobs: if: steps.verify_user.outputs.result == 'YES' && steps.add_entry.outputs.push_entry == 'YES' && github.event.comment.body == '!accept' working-directory: ${{ github.workspace }}/clicks run: | - git config --local user.name "Click Sound Adder" + git config --global user.name "Click Sound Adder" git add -A git commit -m "New click from $ISSUE_AUTHOR - ${{ steps.add_entry.outputs.mod_id }}" -m "Accepted by: $COMMENT_AUTHOR" - git config --local user.email "${{ secrets.COOP_BOT_EMAIL }}" - git remote set-url origin "https://x-access-token:${{ secrets.COOP_BOT_PUSH_BIN_TOKEN }}@github.com/clicksounds/clicks.git" + git config --global user.email "${{ secrets.COOP_BOT_EMAIL }}" + git remote set-url origin "https://coopeeobot:${{ secrets.COOP_BOT_PUSH_BIN_TOKEN }}@github.com/clicksounds/clicks.git" git push -u origin main - name: Close Issue