Skip to content

Commit

Permalink
chore(docs): jira ticket linking action (WPB-8645) 🍒 (#2756)
Browse files Browse the repository at this point in the history
* chore: add jira linking for documentation puposes (#2755)

* Empty-Commit test

---------

Co-authored-by: Yamil Medina <[email protected]>
  • Loading branch information
github-actions[bot] and yamilmedina authored May 13, 2024
1 parent 5b9d85f commit eb1f80e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/jira-lint-and-link.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
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

0 comments on commit eb1f80e

Please sign in to comment.