OpenTelemetry spans being ended multiple times causing "Operation attempted on ended Span" errors #48
This file contains hidden or 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: invalid_link | |
on: | |
issues: | |
types: [opened, reopened] | |
jobs: | |
close: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- run: npm install | |
working-directory: ./.github/scripts | |
- uses: actions/github-script@v7 | |
with: | |
script: | | |
const script = require('./.github/scripts/close-invalid-link.cjs') | |
await script({github, context}) |