feat(cloud): add create_and_poll and update_and_poll methods for secu… #521
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 | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| merge_group: | |
| types: [checks_requested] | |
| jobs: | |
| fossa: | |
| runs-on: ubuntu-latest | |
| if: github.actor != 'dependabot[bot]' && github.repository == 'G-Core/gcore-python' | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install FOSSA CLI | |
| run: | | |
| curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash | |
| - name: Set FOSSA API Key | |
| run: echo "FOSSA_API_KEY=${{ secrets.FOSSA_PUB_API_KEY }}" >> $GITHUB_ENV | |
| - name: Run FOSSA Analysis | |
| run: fossa analyze | |
| - name: Run FOSSA Test | |
| run: fossa test |