Skip to content

Commit

Permalink
actions: Add pr-best-practices workflow
Browse files Browse the repository at this point in the history
This commit adds the pr-best-practices check, which prevents pull
requests without descriptions being merged and which allows developers
to quickly create Jira Tasks based on the /jira-epic command in pull
request descriptions or comments.
  • Loading branch information
ochosi authored and mvo5 committed Dec 20, 2024
1 parent 69b6ed5 commit 51e4171
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 51e4171

Please sign in to comment.