forked from opensearch-project/opensearch-build
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix opensearch-dashboards-functional-test version increment (opensear…
…ch-project#4501) Signed-off-by: Prudhvi Godithi <[email protected]>
- Loading branch information
1 parent
476a84a
commit bddcb74
Showing
1 changed file
with
24 additions
and
2 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 |
---|---|---|
|
@@ -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: | ||
|
@@ -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 }}" | ||
|