Skip to content

ci: Do not run codeowners merge workflow on draft PRs #90

ci: Do not run codeowners merge workflow on draft PRs

ci: Do not run codeowners merge workflow on draft PRs #90

name: 'Codeowners merging'
on:
pull_request: { types: [opened] }
issue_comment: { types: [created] }
pull_request_review: { types: [submitted] }
jobs:
codeowners-merge:
if: 'github.repository == "SchemaStore/schemastore" and github.event.pull_request.draft == false'
runs-on: ubuntu-latest
steps:
- uses: 'actions/checkout@v4'
- name: 'Run Codeowners merge check'
uses: 'OSS-Docs-Tools/[email protected]'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
merge_method: 'squash'