Link and Lint PR with Jira Ticket Number #14247
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: Link and Lint PR with Jira Ticket Number | |
on: | |
merge_group: | |
pull_request: | |
types: [opened, edited, synchronize] | |
jobs: | |
add-jira-description: | |
runs-on: ubuntu-latest | |
# Run only if the PR is not from a Fork / external contributor | |
if: (!startsWith(github.ref, 'refs/heads/dependabot/') && github.repository_owner == 'wireapp') | |
steps: | |
- uses: cakeinpanic/[email protected] | |
name: jira-description-action | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
jira-token: ${{ secrets.JIRA_TOKEN }} | |
jira-base-url: https://wearezeta.atlassian.net | |
skip-branches: '^(production-release|main|master|release\/v\d+)$' #optional | |
fail-when-jira-issue-not-found: false |