Skip to content

chore(telemetry): fixes namespace for span pointer metric #8537

chore(telemetry): fixes namespace for span pointer metric

chore(telemetry): fixes namespace for span pointer metric #8537

Workflow file for this run

name: Codeowners
on:
pull_request:
jobs:
report_codeowners:
name: "Report codeowners"
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v44
- name: Setup go
uses: actions/setup-go@v5
- name: Install codeowners
run: go install github.com/hmarr/codeowners/cmd/codeowners@latest
- name: List owners of all changed files
id: codeowners_resolved
run: |
codeowners ${{ steps.changed-files.outputs.all_changed_files }}
echo "results<<EOF" >> "$GITHUB_OUTPUT"
echo "$(codeowners ${{ steps.changed-files.outputs.all_changed_files }})" >> "$GITHUB_OUTPUT"
echo "EOF" >> "$GITHUB_OUTPUT"
- name: Comment PR
uses: thollander/actions-comment-pull-request@v2
with:
filePath: resolved.txt
comment_tag: codeowners_resolved
mode: upsert
message: |
`CODEOWNERS` have been resolved as:
```
${{ steps.codeowners_resolved.outputs.results }}
```