From eb1f80e923793908a4caf938ccfaaaab60c3c1c9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 13 May 2024 13:11:02 +0000 Subject: [PATCH] =?UTF-8?q?chore(docs):=20jira=20ticket=20linking=20action?= =?UTF-8?q?=20(WPB-8645)=20=F0=9F=8D=92=20(#2756)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: add jira linking for documentation puposes (#2755) * Empty-Commit test --------- Co-authored-by: Yamil Medina --- .github/workflows/jira-lint-and-link.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/jira-lint-and-link.yml diff --git a/.github/workflows/jira-lint-and-link.yml b/.github/workflows/jira-lint-and-link.yml new file mode 100644 index 00000000000..54c2cb22544 --- /dev/null +++ b/.github/workflows/jira-lint-and-link.yml @@ -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/jira-description-action@v0.8.0 + 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