Skip to content

Add parameter for docker re-release to use corresponding opensearch-b… #173

Add parameter for docker re-release to use corresponding opensearch-b…

Add parameter for docker re-release to use corresponding opensearch-b… #173

---
name: Increment Version
on:
push:
paths:
- build.gradle
branches: main
workflow_dispatch:
jobs:
version-increment:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
name: version-increment
steps:
- name: Check out OpenSearch repo
uses: actions/checkout@v3
- name: Run gradle task
id: gradle
run: |
./gradlew updateVersion
- name: GitHub App token
id: github_app_token
uses: tibdex/[email protected]
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
installation_id: 22958780
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v4
with:
token: ${{ steps.github_app_token.outputs.token }}
base: '6.x'
committer: opensearch-ci-bot <[email protected]>
author: opensearch-ci-bot <[email protected]>
commit-message: |
Increment jenkins library version
Signed-off-by: opensearch-ci-bot <[email protected]>
delete-branch: true
branch: create-pull-request
title: '[AUTO] Increment jenkins library version'
body: |
- Increment jenkins library version.
- name: Check outputs
run: |-
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"