Skip to content

feat(ottl): Add a new ottl trim function that trims leading and trailing whitespace from a string #44924

feat(ottl): Add a new ottl trim function that trims leading and trailing whitespace from a string

feat(ottl): Add a new ottl trim function that trims leading and trailing whitespace from a string #44924

name: 'Add code owners to a PR'
on:
pull_request_target:
types:
- opened
- synchronize
jobs:
add-owners-to-pr:
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' && github.repository_owner == 'open-telemetry' }}
steps:
- uses: actions/checkout@v4
- name: Run add-codeowners-to-pr.sh
run: ./.github/workflows/scripts/add-codeowners-to-pr.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO: ${{ github.repository }}
PR: ${{ github.event.number }}