Skip to content

Commit

Permalink
Use action for commiting
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelirh committed Apr 25, 2024
1 parent e7440e3 commit 62a8eac
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions .github/workflows/release-repository.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,29 @@ jobs:
with:
ref: ${{ github.event.inputs.target_branch }}

- name: Create release branch
run: |
git checkout -b $RELEASE_BRANCH
git push -u origin $RELEASE_BRANCH
# - name: Create release branch
# run: |
# git checkout -b $RELEASE_BRANCH
# git push -u origin $RELEASE_BRANCH

- name: Update docker image version
uses: mikefarah/[email protected]
with:
cmd: yq -i '.services.panther_ros.image = "new_tag"' demo/compose.minimal-setup.yaml

- name: Commit changes
run: |
git add .
git commit -m "Update docker image version"
git push origin $RELEASE_BRANCH
# - name: Commit changes
# run: |
# git add .
# git commit -m "Update docker image version"
# git push origin $RELEASE_BRANCH

- name: Commit changes to release branch
uses: EndBug/add-and-commit@v9
with:
message: Update docker image version
author_name: action-bot
author_email: [email protected]
new_branch: $RELEASE_BRANCH

- name: Create pull request
run: |
Expand Down

0 comments on commit 62a8eac

Please sign in to comment.