Set tool span to failed if an error is raised in the tool #11808
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/* | |
| - potel-base | |
| 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 }} |