add additional trigger for easier debugging #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Jira Autolink | ||
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 |