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.
This commit is contained in:
Simon Steinbeiss 2024-12-06 14:52:00 +01:00 committed by Lucas Garfield
parent e98376de1a
commit 80e793cbfd

View file

@ -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 }}