IPROTO-407 Bump version.jackson from 2.18.0 to 2.18.1 #142
Workflow file for this run
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: Pull Request Merged | |
on: | |
pull_request_target: | |
branches: | |
- 4.6.x | |
- main | |
types: | |
- closed | |
jobs: | |
updateJira: | |
if: github.event.pull_request.merged == true | |
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 }} | |
- name: Add Fix Version | |
if: ${{ env.ISSUE_KEY != '' }} | |
run: ./bin/jira/add_fix_version.sh | |
env: | |
ISSUE_KEY: ${{ env.ISSUE_KEY }} | |
TOKEN: ${{ secrets.JIRA_API_TOKEN }} | |
VERSION: ${{ github.event.pull_request.milestone.title }} | |
- name: Transition Issue to Resolved | |
if: ${{ env.ISSUE_KEY != '' }} && !contains(github.event.pull_request.labels.*.name, '4.6.x') | |
run: ./bin/jira/transition.sh | |
env: | |
ISSUE_KEY: ${{ env.ISSUE_KEY }} | |
TOKEN: ${{ secrets.JIRA_API_TOKEN }} | |
TRANSITION: Resolved |