Skip to content

Fix: filter exemplar for observable instrument and export of exemplar without trace and span ids #4835

Fix: filter exemplar for observable instrument and export of exemplar without trace and span ids

Fix: filter exemplar for observable instrument and export of exemplar without trace and span ids #4835

Workflow file for this run

name: check-links
on:
push:
branches: [ main ]
pull_request:
jobs:
changedfiles:
name: changed files
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
outputs:
md: ${{ steps.changes.outputs.md }}
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get changed files
id: changes
run: |
echo "md=$(git diff --name-only --diff-filter=ACMRTUXB $(git merge-base origin/main ${{ github.event.pull_request.head.sha }}) ${{ github.event.pull_request.head.sha }} | grep .md$ | xargs)" >> $GITHUB_OUTPUT
check-links:
runs-on: ubuntu-latest
needs: changedfiles
if:
if: |

Check failure on line 27 in .github/workflows/check-links.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/check-links.yml

Invalid workflow file

You have an error in your yaml syntax on line 27
github.event.pull_request.user.login != 'opentelemetrybot' && github.event_name == 'pull_request'
&& ${{needs.changedfiles.outputs.md}}
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install markdown-link-check
run: npm install -g markdown-link-check
- name: Run markdown-link-check
run: |
markdown-link-check \
--verbose \
--config .github/workflows/check_links_config.json \
${{needs.changedfiles.outputs.md}} \
|| { echo "Check that anchor links are lowercase"; exit 1; }