From efd9ebd4d1ee08624e45706ce20c43d427a7e5a3 Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Fri, 29 Sep 2023 22:59:57 +0200 Subject: [PATCH] Fix workflow issues. --- .github/workflows/release.yml | 10 +++++----- .github/workflows/test_release.yml | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7fc9d65..c2dd96b 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 5bdc3ca..b3123e0 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