Skip to content

[patch] Update Node.js to v21 - autoclosed #25

[patch] Update Node.js to v21 - autoclosed

[patch] Update Node.js to v21 - autoclosed #25

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' }}
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