-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Besu Bot to commit the version update (#130)
Removed the inputs Git name and email. Intead using the 'Besu Bot' GitHub user to perform the commit Signed-off-by: Chaminda Divitotawela <[email protected]>
- Loading branch information
1 parent
a1c10e0
commit 5676231
Showing
1 changed file
with
4 additions
and
10 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 |
---|---|---|
|
@@ -7,14 +7,6 @@ on: | |
required: true | ||
type: string | ||
description: 'Besu version to be updated' | ||
name: | ||
required: true | ||
type: string | ||
description: 'Name of the author to be included in git commit signature' | ||
email: | ||
required: true | ||
type: string | ||
description: 'Email of the author to be included in git commit signature' | ||
|
||
jobs: | ||
update: | ||
|
@@ -33,8 +25,8 @@ jobs: | |
- name: Update version | ||
run: | | ||
git config --global user.name "${{ inputs.name }}" | ||
git config --global user.email "${{ inputs.email }}" | ||
git config --global user.name "$GIT_NAME" | ||
git config --global user.email "$GIT_EMAIL" | ||
git checkout -b $BRANCH | ||
bash updateBesu.sh ${{ inputs.version }} | ||
git status -s | grep " M " | grep -q besu.rb || { | ||
|
@@ -46,6 +38,8 @@ jobs: | |
git push origin $BRANCH | ||
env: | ||
BRANCH: ${{ steps.branch.outputs.BRANCH }} | ||
GIT_NAME: 'Besu Bot' | ||
GIT_EMAIL: '[email protected]' | ||
|
||
- name: Create Pull Request [permission needed] | ||
run: | | ||
|