From 80e793cbfd2976efb538869dc03cc5d7a44fb996 Mon Sep 17 00:00:00 2001 From: Simon Steinbeiss Date: Fri, 6 Dec 2024 14:52:00 +0100 Subject: [PATCH] github/actions: Enable /jira-epic slash commands This change depends on https://github.com/osbuild/pr-best-practices/pull/8 It means you can use the command both in a standalone comment or directly in the PR 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 6ec120d2..d7a1b0c4 100644 --- a/.github/workflows/pr_best_practices.yml +++ b/.github/workflows/pr_best_practices.yml @@ -3,6 +3,9 @@ name: "Verify PR best practices" on: pull_request_target: branches: [main] + types: [opened, synchronize, reopened, edited] + issue_comment: + types: [created] jobs: pr-best-practices: @@ -12,3 +15,4 @@ jobs: uses: osbuild/pr-best-practices@main with: token: ${{ secrets.SCHUTZBOT_GITHUB_ACCESS_TOKEN }} + jira_token: ${{ secrets.IMAGEBUILDER_BOT_JIRA_TOKEN }}