fix(llmobs): ensure integration metrics are disabled in agentless mode [backport 2.11] #4967
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Codeowners | |
on: | |
pull_request: | |
jobs: | |
report_codeowners: | |
name: "Report codeowners" | |
runs-on: ubuntu-latest | |
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 }} | |
``` |