Skip to content

Commit

Permalink
Fix opensearch-dashboards-functional-test version increment (opensear…
Browse files Browse the repository at this point in the history
…ch-project#4501)

Signed-off-by: Prudhvi Godithi <[email protected]>
  • Loading branch information
prudhvigodithi authored Mar 5, 2024
1 parent 476a84a commit bddcb74
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/osd-increment-plugin-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ jobs:
}
console.log(labelFound);
return labelFound
- name: Create Pull Request
if: ${{ matrix.entry.repo != 'OpenSearch-Dashboards' }}
- name: Create Pull Request for plugins
if: ${{ matrix.entry.repo != 'OpenSearch-Dashboards' && matrix.entry.repo != 'opensearch-dashboards-functional-test' }}
id: cpr
uses: peter-evans/create-pull-request@v5
with:
Expand All @@ -166,6 +166,28 @@ jobs:
add-paths: |
opensearch_dashboards.json
package.json
- name: Create Pull Request for opensearch-dashboards-functional-test
if: ${{ matrix.entry.repo == 'opensearch-dashboards-functional-test' }}
id: cpr
uses: peter-evans/create-pull-request@v5
with:
token: ${{ steps.github_app_token.outputs.token }}
committer: opensearch-ci-bot <[email protected]>
author: opensearch-ci-bot <[email protected]>
commit-message: |
Increment version to ${{ env.OSD_PLUGIN_VERSION }}
Signed-off-by: opensearch-ci-bot <[email protected]>
delete-branch: true
branch: create-pull-request/${{ env.OSD_PLUGIN_VERSION }}
title: '[AUTO] Increment version to ${{ env.OSD_PLUGIN_VERSION }}'
labels: |
v${{ env.DASHBOARD_VERSION }}
body: |
- Incremented version to **${{ env.OSD_PLUGIN_VERSION }}**.
path: 'OpenSearch-Dashboards/plugins/${{ matrix.entry.repo }}'
add-paths: |
package.json
- name: Check outputs
run: |-
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
Expand Down

0 comments on commit bddcb74

Please sign in to comment.