Skip to content

Commit

Permalink
[patch] debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Edwards committed Oct 9, 2023
1 parent debb96d commit edc6fbe
Showing 1 changed file with 24 additions and 14 deletions.
38 changes: 24 additions & 14 deletions .github/workflows/autolink_jira.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,28 @@ permissions:

jobs:
autolink:
name: Add Jira Link to PR Title/Description
runs-on: ubuntu-latest
continue-on-error: true
name: Test Data
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])+-\d+'
title-template: "%headbranch%: "
body-template: |
Jira issue: [%headbranch%](https://medibank.atlassian.net/browse/%headbranch%)
---
body-update-action: "prefix"
body-uppercase-base-match: false
run: echo ${{ github.event_name }}
# 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])+-\d+'
# 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:
# - run: exit 0

0 comments on commit edc6fbe

Please sign in to comment.