From d56486aca25f5a6d1414dc1e4591334e083f07aa Mon Sep 17 00:00:00 2001 From: Ace Date: Sat, 3 Jun 2023 18:20:23 +0200 Subject: [PATCH] fixing actions --- .github/workflows/tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9fd6c3a..e0fe2da 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -40,6 +40,7 @@ jobs: run: | git config --global user.name 'GitHub Actions' git config --global user.email 'actions@github.com' + git config --global init.defaultBranch main - name: Commit and Push Changes run: | @@ -47,7 +48,7 @@ jobs: git init git add -A git commit -m "Update documentation" - git push --force --quiet --set-upstream origin main + git push --force --quiet origin - name: Setup test environment and run tests env: OPENWEATHERMAP_API_KEY: ${{ secrets.OPENWEATHERMAP_API_KEY }}