Don't set attribute if value is None
#9065
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: Enforce License Compliance | |
on: | |
push: | |
branches: | |
- master | |
- main | |
- release/* | |
- sentry-sdk-2.0 | |
pull_request: | |
# Cancel in progress workflows on pull_requests. | |
# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
jobs: | |
enforce-license-compliance: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Enforce License Compliance' | |
uses: getsentry/action-enforce-license-compliance@main | |
with: | |
fossa_api_key: ${{ secrets.FOSSA_API_KEY }} |