Pin the os version at 24.04 to avoid unexpected changes that can happen when using ubuntu-latest
18 lines
459 B
YAML
18 lines
459 B
YAML
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-24.04
|
|
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 }}
|