Skip to content

[patch] Update public.ecr.aws/docker/library/node Docker tag to v22 #75

[patch] Update public.ecr.aws/docker/library/node Docker tag to v22

[patch] Update public.ecr.aws/docker/library/node Docker tag to v22 #75

name: PR Jira Autolink
on:
pull_request:
types: [opened]
workflow_call:
merge_group:
permissions:
pull-requests: write
jobs:
autolink:
name: Add Jira Link to PR Title/Description
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' && !startsWith(github.event.pull_request.title, '([A-Za-z]{2,3})-(\d{1,5})') }}
steps:
- uses: tzkhan/pr-update-action@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
base-branch-regex: '[A-Za-z\d-_.\\/]+'
head-branch-regex: '([A-Za-z]{2,3})-(\d{1,5})'
title-template: "%headbranch%: "
body-template: |
Jira issue: [%headbranch%](https://medibank.atlassian.net/browse/%headbranch%)
---
body-update-action: "prefix"
body-uppercase-base-match: false
forceSuccess:
name: Force Success
runs-on: ubuntu-latest
if: ${{ github.event_name == 'merge_group' }}
steps:
- name: Force Success
run: exit 0