Skip to content

build from release commit #137

build from release commit

build from release commit #137

name: Pull Request Open
on:
pull_request_target:
branches:
- 4.6.x
- main
types:
- opened
- reopened
jobs:
updateJira:
if: github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: main
repository: infinispan/infinispan
- name: Extract Jira Key
run: echo ISSUE_KEY=$(echo "${PR_TITLE}" | grep -oP 'IPROTO-(?P<id>[0-9]+)') >> $GITHUB_ENV
env:
PR_TITLE: ${{ github.event.pull_request.title }}
- run: echo ${{ env.ISSUE_KEY }}
- run: echo "$ISSUE_KEY"
- name: Link Pull Request
if: ${{ env.ISSUE_KEY != '' }}
run: ./bin/jira/add_pull_request.sh
env:
ISSUE_KEY: ${{ env.ISSUE_KEY }}
PULL_REQUEST: ${{ github.event.pull_request.html_url }}
TOKEN: ${{ secrets.JIRA_API_TOKEN }}
- name: Transition Issue to Code Review
if: ${{ env.ISSUE_KEY != '' }}
run: ./bin/jira/transition.sh
env:
ISSUE_KEY: ${{ env.ISSUE_KEY }}
TOKEN: ${{ secrets.JIRA_API_TOKEN }}
TRANSITION: Code Review