forked from WeblateOrg/weblate
-
Notifications
You must be signed in to change notification settings - Fork 3
34 lines (28 loc) · 797 Bytes
/
fossa.yml
File metadata and controls
34 lines (28 loc) · 797 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
34
# Copyright © Michal Čihař <michal@weblate.org>
#
# SPDX-License-Identifier: GPL-3.0-or-later
name: FOSSA
on:
push:
branches:
- main
permissions:
contents: read
jobs:
fossa-scan:
runs-on: ubuntu-slim
if: ${{ github.repository == 'WeblateOrg/weblate' }}
steps:
- name: Checkout Code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Run FOSSA Scan
uses: fossas/fossa-action@c414b9ad82eaad041e47a7cf62a4f02411f427a0 # v1.8.0
with:
api-key: ${{secrets.fossaApiKey}}
- name: Run FOSSA Test
uses: fossas/fossa-action@c414b9ad82eaad041e47a7cf62a4f02411f427a0 # v1.8.0
with:
api-key: ${{secrets.fossaApiKey}}
run-tests: true