-
Notifications
You must be signed in to change notification settings - Fork 41
33 lines (30 loc) · 818 Bytes
/
fossa.yml
File metadata and controls
33 lines (30 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: fossa
on:
push:
branches:
- master
- v*
tags:
- v*
pull_request:
branches:
- master
- v*
workflow_dispatch: {}
permissions: {}
jobs:
fossa-scan:
if: github.repository == 'longhorn/longhorn-share-manager' # FOSSA is not intended to run on forks.
runs-on: ubuntu-latest
permissions:
contents: read
env:
FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}
steps:
- name: "Checkout code"
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: "Run FOSSA Scan"
uses: fossas/fossa-action@ff70fe9fe17cbd2040648f1c45e8ec4e4884dcf3 # v1.9.0 # Use a specific version if locking is preferred
with:
api-key: ${{ secrets.FOSSA_API_KEY }}
project: longhorn-share-manager