actions: Add pr-best-practices workflow
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.
This commit is contained in:
parent
69b6ed5857
commit
51e4171caf
1 changed files with 18 additions and 0 deletions
18
.github/workflows/pr_best_practices.yml
vendored
Normal file
18
.github/workflows/pr_best_practices.yml
vendored
Normal file
|
|
@ -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 }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue