Skip to content

Merge pull request #3068 from statisticsnorway/develop #818

Merge pull request #3068 from statisticsnorway/develop

Merge pull request #3068 from statisticsnorway/develop #818

name: "Update Pull Request title with JIRA issue"
on:
pull_request:
types: [opened]
permissions:
contents: read
pull-requests: write
jobs:
update_pr:
runs-on: ubuntu-latest
if: contains(github.head_ref, 'MIM-')
steps:
- uses: the-wright-jamie/update-pr-info-action@v1
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
head-branch-regex: 'mim-\d{2,4}'
title-template: "[%headbranch%]"
body-template: |
### Jira Issues!
[Link to ticket: %headbranch%](https://statistics-norway.atlassian.net/browse/%headbranch%)
body-update-action: "suffix"