| 1 |
name: 'Ping code owners on issues' |
| 2 |
on: |
| 3 |
issues: |
| 4 |
types: [labeled] |
| 5 |
|
| 6 |
permissions: read-all |
| 7 |
|
| 8 |
jobs: |
| 9 |
ping-owners: |
| 10 |
permissions: |
| 11 |
issues: write |
| 12 |
runs-on: ubuntu-24.04 |
| 13 |
if: ${{ github.repository_owner == 'open-telemetry' }} |
| 14 |
steps: |
| 15 |
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 |
| 16 |
|
| 17 |
- name: Run ping-codeowners-issues.sh |
| 18 |
run: ./.github/workflows/scripts/ping-codeowners-issues.sh |
| 19 |
env: |
| 20 |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 21 |
ISSUE: ${{ github.event.issue.number }} |
| 22 |
COMPONENT: ${{ github.event.label.name }} |