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.
This commit is contained in:
Simon Steinbeiss 2024-12-11 23:07:38 +01:00 committed by Achilleas Koutsou
parent a875ba7906
commit cdf8856f19

View file

@ -2,7 +2,10 @@ name: "Verify PR best practices"
on:
pull_request_target:
branches: [ main ]
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 }}