Skip to content

rec: implement new feature to only generate OpenTelemetry Traces on certain conditions #8123

rec: implement new feature to only generate OpenTelemetry Traces on certain conditions

rec: implement new feature to only generate OpenTelemetry Traces on certain conditions #8123

Workflow file for this run

# spelling.yml is blocked per https://github.com/check-spelling/check-spelling/security/advisories/GHSA-g86g-chm8-7r2p
# spelling2.yml is blocked per https://github.com/check-spelling/check-spelling/security/advisories/GHSA-p8r9-69g4-jwqq
name: Spell checking
on:
push:
branches:
- "**"
tags-ignore:
- "**"
pull_request:
branches:
- "**"
types:
- "opened"
- "reopened"
- "synchronize"
jobs:
spelling:
name: Spell checking
permissions:
# contents-read is needed to checkout in private repositories
contents: read
# pull-requests-read is needed for suppress_push_for_open_pull_request in private repositories
pull-requests: read
# security-events-write is needed according to the documentation:
# https://docs.github.com/en/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github#uploading-a-code-scanning-analysis-with-github-actions
security-events: write
outputs:
followup: ${{ steps.spelling.outputs.followup }}
runs-on: ubuntu-latest
if: ${{ contains(github.event_name, 'pull_request') || github.event_name == 'push' }}
concurrency:
group: spelling-${{ github.event.pull_request.number || github.ref }}
# note: If you use only_check_changed_files, you do not want cancel-in-progress
cancel-in-progress: true
steps:
- name: check-spelling
id: spelling
uses: check-spelling/[email protected]
with:
config: .github/actions/spell-check
suppress_push_for_open_pull_request: ${{ github.actor != 'dependabot[bot]' && 1 }}
checkout: true
check_file_names: 1
spell_check_this: powerdns/pdns@master
post_comment: 0
use_magic_file: 1
warnings: bad-regex,binary-file,deprecated-feature,ignored-expect-variant,large-file,limited-references,no-newline-at-eof,noisy-file,non-alpha-in-dictionary,token-is-substring,unexpected-line-ending,whitespace-in-dictionary,minified-file,unsupported-configuration,no-files-to-check,unclosed-block-ignore-begin,unclosed-block-ignore-end
use_sarif: ${{ (!github.event.pull_request || (github.repository_owner != 'PowerDNS' && github.event.pull_request.head.repo.full_name == github.repository)) && !vars.DO_NOT_USE_SARIF_REPORTING && 1 }}
dictionary_source_prefixes: >
{
"cspell": "https://raw.githubusercontent.com/check-spelling/cspell-dicts/v20241114/dictionaries/"
}
extra_dictionaries: |
cspell:software-terms/softwareTerms.txt
cspell:node/node.txt
cspell:php/php.txt
cspell:python/common/extra.txt
cspell:python/python/python-lib.txt
cspell:golang/go.txt
cspell:cpp/stdlib-cpp.txt
cspell:aws/aws.txt
cspell:filetypes/filetypes.txt
cspell:dart/dart.txt
cspell:rust/rust.txt
cspell:npm/npm.txt
cspell:cpp/stdlib-c.txt
cspell:fullstack/fullstack.txt
cspell:python/python/python.txt
cspell:typescript/typescript.txt
cspell:html/html.txt
cspell:java/java.txt
cspell:lua/lua.txt
check_extra_dictionaries: ""