Remove --label
flag for gh issue list
(#442)
#195
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
--- | |
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 }}" |