From 3ee2524a0815f91fa635bedc2148249f4aa4a665 Mon Sep 17 00:00:00 2001 From: Simon Steinbeiss Date: Wed, 11 Dec 2024 23:11:03 +0100 Subject: [PATCH] github/actions: Enable /jira-epic slash commands This change allows for using the command to create Jira Tasks under a given Epic both in a pull request comment or in the pull request description. --- .github/workflows/pr_best_practices.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/pr_best_practices.yml b/.github/workflows/pr_best_practices.yml index 66601bd503..a723eb59c6 100644 --- a/.github/workflows/pr_best_practices.yml +++ b/.github/workflows/pr_best_practices.yml @@ -4,6 +4,9 @@ name: "Verify PR best practices" on: # yamllint disable-line rule:truthy pull_request_target: branches: [main] + types: [opened, synchronize, reopened, edited] + issue_comment: + types: [created] jobs: pr-best-practices: @@ -13,3 +16,4 @@ jobs: uses: osbuild/pr-best-practices@main with: token: ${{ secrets.SCHUTZBOT_GITHUB_ACCESS_TOKEN }} + jira_token: ${{ secrets.IMAGEBUILDER_BOT_JIRA_TOKEN }}