contribfest exercise na 2024 #12178
This file contains 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' | |
- '**.svg' | |
- '**.drawio' | |
- '.spelling' | |
pull_request: | |
branches: | |
- master | |
paths-ignore: | |
- '**.md' | |
- '**.svg' | |
- '**.drawio' | |
- '.spelling' | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs | |
- name: Checkout code | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Run FOSSA scan and upload build data | |
uses: fossa-contrib/fossa-action@cdc5065bcdee31a32e47d4585df72d66e8e941c2 # v3.0.0 | |
with: | |
fossa-api-key: 044cfa03c61e6271a24349184e90b381 |