Add approval CI workflow (#8620)

* Add approval workflow

* Add approval workflow
This commit is contained in:
Pere Miquel Brull 2022-11-09 16:47:27 +01:00 committed by GitHub
parent f064ab1e89
commit a45728cf02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 1 deletions

12
.github/workflows/approval.yml vendored Normal file
View File

@ -0,0 +1,12 @@
name: Get Approval
on:
pull_request:
jobs:
approval:
runs-on: ubuntu-latest
steps:
- name: Echo
run: |
echo "PRs from external contributors require an approval from the OpenMetadata team."

View File

@ -12,7 +12,7 @@
name: Java Checkstyle
on:
pull_request:
pull_request_target:
branches:
- main
- '0.[0-9]+.[0-9]+'