Repository navigation
ci(ruff): Enable rules for inline imports, prints, unused noqa and pytest.raises #23374
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: Enforce License Compliance | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - main | |
| - release/* | |
| 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@d0aa91b82375e45135e96c02f17ce3b8002867cd # main | |
| with: | |
| fossa_api_key: ${{ secrets.FOSSA_API_KEY }} |