Skip to content

Commit

Permalink
refactor(generate.yml): remove redundant feature branch creation step
Browse files Browse the repository at this point in the history
fix(generate.yml): update branch name in pull request action to use liquibase version instead of hardcoded value
  • Loading branch information
jandroav committed Mar 5, 2024
1 parent 34a7f00 commit 04fbcb1
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 04fbcb1

Please sign in to comment.