Pin 3rd party GH actions to commit SHA1. #640
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 License Scanning | |
| on: | |
| push: | |
| paths-ignore: | |
| - '**.md' | |
| - '**.csv' | |
| - '**.plot' | |
| - '**.properties' | |
| - '**.json' | |
| - '**.svg' | |
| jobs: | |
| fossa: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/[email protected] | |
| - name: Run FOSSA scan and upload build data | |
| # gh api repos/fossa-contrib/fossa-action/commits/v3.0.1 --jq '.sha' | |
| uses: fossa-contrib/fossa-action@v3d2ef181b1820d6dcd1972f86a767d18167fa19b | |
| with: | |
| fossa-api-key: ${{secrets.FOSSA_API_KEY}} |