feat: make load_remote_fallback_local be part of the repository trait #3228
Workflow file for this run
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: FOSSA CLI Analysis - CAOS | |
| on: | |
| pull_request: | |
| branches: [ $default-branch ] | |
| jobs: | |
| check_env: | |
| uses: newrelic/.github/.github/workflows/fossa-check-env.yml@main | |
| secrets: | |
| FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }} | |
| fossa: | |
| needs: check_env | |
| if: ${{ needs.check_env.outputs.HAS_FOSSA_API_KEY == 'true' }} | |
| runs-on: ubuntu-latest | |
| env: | |
| FOSSA_API_KEY: ${{secrets.FOSSA_API_KEY}} | |
| ORG: ${{ github.repository_owner }} | |
| REPO: ${{ github.repository }} | |
| CUSTOM_PROPS_PAT: ${{ secrets.FOSSA_PAT }} | |
| HAS_FOSSA_TARGETS: "" | |
| FOSSA_ANALYZE_RESULT: "" | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Give GitHub Actions access to private crates | |
| uses: webfactory/ssh-agent@v0.8.0 | |
| with: | |
| ssh-private-key: ${{ secrets.CAOS_RUST_CRATE_FOSSA }} | |
| - id: fossa-cli | |
| uses: newrelic/.github/.github/composite/fossa-composite@main |