Skip to content

Commit

Permalink
comments addressed
Browse files Browse the repository at this point in the history
  • Loading branch information
nitesh3108 committed Jan 30, 2025
1 parent 7f17fbc commit 3a0c060
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/operator-version-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
#
# http://www.apache.org/licenses/LICENSE-2.0


# Reusable workflow to perform operator version update
# To perform csm-operator version update, needs three arguments as input to the workflow
name: Operator version update

on:
Expand Down Expand Up @@ -34,10 +35,10 @@ jobs:

- name: Update operator version
run: |
echo "Updating Operator version to --> ${{ github.event.inputs.latest-version }}"
echo "Updating Operator version to --> ${{ inputs.latest-version }}"
if [ -f "$GITHUB_WORKSPACE/.github/scripts/operator-version-update.sh" ]; then
bash $GITHUB_WORKSPACE/.github/scripts/operator-version-update.sh ${{ github.event.inputs.latest-version }} ${{ github.event.inputs.existing-version }} ${{ github.event.inputs.csm-version }}
bash $GITHUB_WORKSPACE/.github/scripts/operator-version-update.sh ${{ inputs.latest-version }} ${{ inputs.existing-version }} ${{ inputs.csm-version }}
fi
# Needed for signing commits using Github App tokens
Expand All @@ -55,11 +56,11 @@ jobs:
uses: peter-evans/create-pull-request@v7
with:
token: ${{ steps.generate-token.outputs.token }}
branch: "operator-ver-bumpup-${{ github.event.inputs.latest-version }}"
commit-message: "Update operator version to ${{ github.event.inputs.latest-version }}"
title: "Update operator version to ${{ github.event.inputs.latest-version }}"
branch: "operator-ver-bumpup-${{ inputs.latest-version }}"
commit-message: "Update operator version to ${{ inputs.latest-version }}"
title: "Update operator version to ${{ inputs.latest-version }}"
body: |
operator version bumped-up to ${{ github.event.inputs.latest-version }}
operator version bumped-up to ${{ inputs.latest-version }}
Auto-generated by [common-github-actions](https://github.com/dell/common-github-actions)
sign-commits: true
delete-branch: true
delete-branch: true

0 comments on commit 3a0c060

Please sign in to comment.