Implement codeowners (#4938)

* Initial run through codeowners

* Remove dead action

* Add consent intercept and auth interceptor
This commit is contained in:
Tadgh 2023-05-24 17:48:55 -04:00 committed by GitHub
parent d9530a9aff
commit c98c4a4dca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 24 deletions

17
.github/CODEOWNERS vendored Normal file
View File

@ -0,0 +1,17 @@
migrate/ @hapifhir/data-migrations
hapi-fhir-cli/**/*.java @nathandoef
hapi-fhir-storage-cr/**/*.java @JPercival
hapi-fhir-jpaserver-subscription/**/*.java @fil512
hapi-fhir-jpaserver-mdm/**/*.java @fil512 @tadgh
hapi-fhir-storage/**/*.java @fil512
hapi-fhir-storage-batch2/**/*.java @michaelabuckley @jamesagnew
hapi-fhir-storage-batch2-jobs/**/*.java @michaelabuckley @jamesagnew
hapi-fhir-server/src/main/java/ca/uhn/fhir/rest/server/interceptor/auth/AuthorizationInterceptor.java @jamesagnew
hapi-fhir-server/src/main/java/ca/uhn/fhir/rest/server/interceptor/consent/ConsentInterceptor.java @jamesagnew

View File

@ -1,24 +0,0 @@
name: Reviewer Check
on:
pull_request
jobs:
build:
runs-on: ubuntu-latest
name: Add Migration Reviewers if Necessary
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Check if migrations changed
id: migrations-changed
uses: tj-actions/changed-files@v35
with:
files: |
hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/migrate/tasks/HapiFhirJpaMigrationTasks.java
- name: Add migration reviewers if migration files changed
if: steps.migrations-changed.outputs.any_changed == 'true'
uses: madrapps/add-reviewers@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
reviewers: michaelabuckley,jamesagnew