Adds legal logo #140
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 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 |