Skip to content

Fix target version to JDK11 for api and client #1209

Fix target version to JDK11 for api and client

Fix target version to JDK11 for api and client #1209

Workflow file for this run

name: Pull Request Backporting using Git Backporting
on:
pull_request_target:
types:
- closed
- labeled
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NO_SQUASH_OPTION: true
jobs:
backporting:
name: "Backporting"
concurrency:
group: backporting-${{ github.head_ref }}
cancel-in-progress: true
# Only react to merged PRs for security reasons.
# See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target.
if: >
github.event.pull_request.merged && (
github.event.action == 'closed'
&& (contains(github.event.pull_request.labels.*.name, 'backport')
|| contains(github.event.pull_request.labels.*.name, 'backport-squash'))
|| (
github.event.action == 'labeled'
&& contains(github.event.label.name, 'backport')
)
)
runs-on: ubuntu-latest
steps:
- name: Override no-squash option
if: >
(github.event.action == 'closed' && contains(github.event.pull_request.labels.*.name, 'backport-squash')) || (github.event.action == 'labeled' && contains(github.event.label.name, 'backport-squash'))
shell: bash
run: |
echo "NO_SQUASH_OPTION=false" >> $GITHUB_ENV
- name: Backporting
uses: kiegroup/git-backporting@v4
with:
target-branch: 0.15
pull-request: ${{ github.event.pull_request.url }}
auth: ${{ secrets.RH_PERF_BOT_TOKEN }}
no-squash: ${{ env.NO_SQUASH_OPTION }}
strategy: ort
strategy-option: ours
enable-err-notification: true