Skip to content

add additional trigger for easier debugging #8

add additional trigger for easier debugging

add additional trigger for easier debugging #8

Workflow file for this run

name: PR Jira Autolink

Check failure on line 1 in .github/workflows/autolink_jira.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/autolink_jira.yaml

Invalid workflow file

Invalid `steps` value - steps should be list of `uses` or `run` items
on:
pull_request:
types: [opened, reopened]
workflow_call:
merge_group:
permissions:
pull-requests: write
jobs:
autolink:
name: Test Data
steps:
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