Skip to content

Protect against null LoggingEvent and Properties in log4net #17418

Protect against null LoggingEvent and Properties in log4net

Protect against null LoggingEvent and Properties in log4net #17418

# Based on https://app.datadoghq.com/ci/setup/static-analysis?provider=github
on: [push]
jobs:
check-quality:
if: github.actor != 'dependabot[bot]' # secrets are not available to dependabot
runs-on: ubuntu-latest
name: Datadog Static Analyzer
permissions:
actions: read # read secrets
contents: read
statuses: write # add status checks (?)
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Check code meets quality standards
id: datadog-static-analysis
uses: DataDog/datadog-static-analyzer-github-action@2707598b1182dce1d1792186477b5b4132338e1c # v1.2.3
with:
dd_api_key: ${{ secrets.DD_API_KEY }}
dd_app_key: ${{ secrets.DD_APP_KEY }}
dd_site: datadoghq.com
cpu_count: 2