From 04fbcb159955d2e93bf33978fb410ea8b5f24191 Mon Sep 17 00:00:00 2001 From: jandroav Date: Tue, 5 Mar 2024 12:33:42 +0100 Subject: [PATCH] refactor(generate.yml): remove redundant feature branch creation step fix(generate.yml): update branch name in pull request action to use liquibase version instead of hardcoded value --- .github/workflows/generate.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml index 334bfa8..7958341 100644 --- a/.github/workflows/generate.yml +++ b/.github/workflows/generate.yml @@ -43,13 +43,6 @@ jobs: git pull origin ${{ inputs.liquibase-version }} fi - - name: Create feature branch - run: | - git checkout -b "feature/protobuf-${{ inputs.liquibase-version }}" - git branch --set-upstream-to=feature/protobuf-${{ inputs.liquibase-version }} - git pull - git push --set-upstream origin "feature/protobuf-${{ inputs.liquibase-version }}" - - name: Install protoc and npm run: | sudo apt-get install -y protobuf-compiler npm @@ -104,7 +97,7 @@ jobs: commit-message: Auto Pull Request for protobuf files [liquibase ${{ inputs.liquibase-version }}] title: Auto Pull Request for protobuf files [liquibase ${{ inputs.liquibase-version }}] body: Auto Pull Request for protobuf files [liquibase ${{ inputs.liquibase-version }}] - branch: feature/protobuf-${{ inputs.liquibase-version }} + branch: ${{ inputs.liquibase-version }} base: master - uses: actions/upload-artifact@v3