We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e2997b commit 289bea8Copy full SHA for 289bea8
1 file changed
.github/workflows/fossa.yml
@@ -0,0 +1,25 @@
1
+name: fossa
2
+permissions:
3
+ contents: read
4
+on:
5
+ push:
6
+ pull_request:
7
+ workflow_dispatch:
8
+ merge_group:
9
+ types: [checks_requested]
10
+jobs:
11
+ fossa:
12
+ runs-on: ubuntu-latest
13
+ if: github.actor != 'dependabot[bot]' && github.repository == 'G-Core/gcore-python'
14
+ steps:
15
+ - name: Checkout repository
16
+ uses: actions/checkout@v4
17
+ - name: Install FOSSA CLI
18
+ run: |
19
+ curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash
20
+ - name: Set FOSSA API Key
21
+ run: echo "FOSSA_API_KEY=${{ secrets.FOSSA_PUB_API_KEY }}" >> $GITHUB_ENV
22
+ - name: Run FOSSA Analysis
23
+ run: fossa analyze
24
+ - name: Run FOSSA Test
25
+ run: fossa test
0 commit comments