Skip to content

Commit f9d9a0c

Browse files
ochosiondrejbudai
authored andcommitted
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. By default, this action uses the HMS project to create the Task in. Also, the Epic referred to needs to be in a project that is accessible to the imagebuilder-bot account (currently: COMPOSER, HMS).
1 parent 3226a52 commit f9d9a0c

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: "Verify PR best practices"
2+
3+
on:
4+
pull_request_target:
5+
branches: [main]
6+
types: [opened, synchronize, reopened, edited]
7+
issue_comment:
8+
types: [created]
9+
10+
jobs:
11+
pr-best-practices:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: PR best practice check
15+
uses: osbuild/pr-best-practices@main
16+
with:
17+
token: ${{ secrets.SCHUTZBOT_GITHUB_ACCESS_TOKEN }}
18+
jira_token: ${{ secrets.IMAGEBUILDER_BOT_JIRA_TOKEN }}

0 commit comments

Comments
 (0)