diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7fc9d65b..c2dd96bc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: Create Testing Release +name: Create Release on: push: @@ -79,9 +79,9 @@ jobs: run: | git config --global user.name "Actions User" git config --global user.email "actions@github.com" - git fetch origin master - git branch -f master ${{ github.sha }} - git checkout master + git fetch origin main + git branch -f main ${{ github.sha }} + git checkout main git add repo.json git commit -m "[CI] Updating repo.json for ${{ github.ref_name }}" || true - git push origin master + git push origin main diff --git a/.github/workflows/test_release.yml b/.github/workflows/test_release.yml index 5bdc3cae..b3123e0f 100644 --- a/.github/workflows/test_release.yml +++ b/.github/workflows/test_release.yml @@ -77,9 +77,9 @@ jobs: run: | git config --global user.name "Actions User" git config --global user.email "actions@github.com" - git fetch origin master - git branch -f master ${{ github.sha }} - git checkout master + git fetch origin main + git branch -f main ${{ github.sha }} + git checkout main git add repo.json git commit -m "[CI] Updating repo.json for ${{ github.ref_name }}" || true - git push origin master + git push origin main