Debian Codegraph @

.github/workflows/add-labels-and-owners.yml

raw symbols SCIP
1 name: 'Add labels and code owners to PR'
2 on:
3 pull_request_target:
4 types:
5 - opened
6 - synchronize
7 - ready_for_review
8
9 permissions: read-all
10
11 jobs:
12 add-labels-and-owners:
13 permissions:
14 pull-requests: write
15 runs-on: ubuntu-24.04
16 if: ${{ github.actor != 'dependabot[bot]' && github.actor != 'renovate[bot]' && github.repository_owner == 'open-telemetry' && github.event.pull_request.draft == false }}
17 steps:
18 - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
19
20 - name: Run add-codeowners-to-pr.sh
21 run: ./.github/workflows/scripts/add-labels-and-owners.sh
22 env:
23 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24 REPO: ${{ github.repository }}
25 PR: ${{ github.event.number }}