Skip to content

Fix maintainer-approval runner and clean up OWNERS #10

Fix maintainer-approval runner and clean up OWNERS

Fix maintainer-approval runner and clean up OWNERS #10

name: Maintainer approval
on:
pull_request_target:
pull_request_review:
types: [submitted, dismissed]
defaults:
run:
shell: bash
jobs:
check:
runs-on:
group: databricks-deco-testing-runner-group
labels: ubuntu-latest-deco
timeout-minutes: 5
permissions:
pull-requests: read
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
sparse-checkout: |
.github/workflows
.github/scripts
.github/OWNERS
- name: Require core team approval
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with:
retries: 3
script: |-
const script = require('./.github/workflows/maintainer-approval.js');
await script({ context, github, core });