Skip to content

Commit

Permalink
github/actions: Add pr best practices check
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ochosi authored and croissanne committed Dec 16, 2024
1 parent 6112dc1 commit 8cda92b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/pr_best_practices.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: "Verify PR best practices"

on:
pull_request_target:
branches: [main]
types: [opened, synchronize, reopened, edited]
issue_comment:
types: [created]

jobs:
pr-best-practices:
runs-on: ubuntu-latest
steps:
- name: PR best practice check
uses: osbuild/pr-best-practices@main
with:
token: ${{ secrets.SCHUTZBOT_GITHUB_ACCESS_TOKEN }}
jira_token: ${{ secrets.IMAGEBUILDER_BOT_JIRA_TOKEN }}

0 comments on commit 8cda92b

Please sign in to comment.