fix: Update CI to add run-name, remove trivial steps, default_author: github_actions (#16456)

This commit is contained in:
Akash Jain 2024-05-29 15:56:50 +05:30 committed by GitHub
parent 451d73593e
commit 3a2af90e66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,5 @@
name: Create Release Branches
run-name: Create Release Branch ${{ inputs.release_branch_name }}
on:
workflow_dispatch:
inputs:
@ -20,26 +21,13 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ inputs.base_branch_name }}
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'temurin'
- name: Install antlr cli
run: |
sudo make install_antlr_cli
- name: Setup jq
run: |
sudo apt-get update
sudo apt-get install jq
- name: Update application versions
run: |
make update_all RELEASE_VERSION=${{ inputs.release_branch_name }}
- name: Commit changes to ${{ inputs.release_branch_name }} branch
uses: EndBug/add-and-commit@v9
with:
author_name: ${{ github.actor }}
author_email: ${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com
default_author: github_actions
message: 'chore(release): Prepare Branch for `${{ inputs.release_branch_name }}`'
add: '.'
new_branch: ${{ inputs.release_branch_name }}