Skip to content

[chore] [filter] Use mdatagen exported_configs more effectively #9847

[chore] [filter] Use mdatagen exported_configs more effectively

[chore] [filter] Use mdatagen exported_configs more effectively #9847

name: 'Add labels and code owners to PR'
on:
pull_request_target:
types:
- opened
- synchronize
- ready_for_review
permissions: read-all
jobs:
add-labels-and-owners:
permissions:
pull-requests: write
runs-on: ubuntu-24.04
if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' && github.event.pull_request.user.login != 'renovate[bot]' && github.repository_owner == 'open-telemetry' && github.event.pull_request.draft == false }}
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- name: Run add-codeowners-to-pr.sh
run: ./.github/workflows/scripts/add-labels-and-owners.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO: ${{ github.repository }}
PR: ${{ github.event.number }}