-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from ObolNetwork/fix_dispatch_trigger
moving git actions in peter-evans/create-pull-request
- Loading branch information
Showing
1 changed file
with
4 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,17 +20,14 @@ jobs: | |
sed -i -E "s/^node_image_version: 'v\.?[0-9]+\.[0-9]+\.[0-9]+[a-zA-Z0-9\-]*'/node_image_version: 'v${TAG_NAME}'/" group_vars/all.yml | ||
# Commit and push changes | ||
git checkout -b update-version-${{ env.TAG_NAME }} | ||
git add . | ||
git commit -m "Update version to ${TAG_NAME}" | ||
git push origin update-version-${{ env.TAG_NAME }} | ||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v7 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
base: main | ||
head: update-version-${{ env.TAG_NAME }} | ||
branch: update-version-${{ env.TAG_NAME }} | ||
title: "Update version to ${{ env.TAG_NAME }}" | ||
body: "Automatically generated PR to update version to ${{ env.TAG_NAME }}" | ||
commit-message: "Update version to ${{ env.TAG_NAME }}" | ||
author-name: "obol-platform" | ||
author-email: "[email protected]" |