From 4870d0261c2bf308176075003d084690c8e7149b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakob=20K=C3=B6rber?= <56073945+jakobkoerber@users.noreply.github.com> Date: Mon, 30 Oct 2023 21:54:59 +0100 Subject: [PATCH] Fixes Workflow after Branch was renamed in Campus-Flutter (#281) --- .github/workflows/client_update.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/client_update.yml b/.github/workflows/client_update.yml index 98e3bb33..c0ed831d 100644 --- a/.github/workflows/client_update.yml +++ b/.github/workflows/client_update.yml @@ -7,6 +7,8 @@ on: paths: - 'server/api/tumdev/campus_backend.proto' + workflow_dispatch: + jobs: deploy: runs-on: macos-latest @@ -36,7 +38,7 @@ jobs: echo "BRANCH_NAME=chore/update-protos-to-\$LATEST_TAG" >> $GITHUB_ENV - name: Clone Repository - run: git clone --depth=1 --branch=development https://runner:${{ secrets.CAMPUS_FLUTTER_TOKEN }}@github.com/${{ env.REPOSITORY }} ${{ env.FOLDER }} + run: git clone --depth=1 --branch=main https://runner:${{ secrets.CAMPUS_FLUTTER_TOKEN }}@github.com/${{ env.REPOSITORY }} ${{ env.FOLDER }} - name: Update Proto Files run: | @@ -74,7 +76,7 @@ jobs: --body "" \ --title "Chore: Update Protos to ${{ env.LATEST_TAG }}" \ --head "${{ env.BRANCH_NAME }}" \ - --base "development" + --base "main" - name: Error Message if: steps.commit.outcome != 'success'