fix(ci): fix schema update workflow #361
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
# Copyright © Michal Čihař <[email protected]> | |
# | |
# SPDX-License-Identifier: GPL-3.0-or-later | |
name: FOSSA | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
fossa-scan: | |
runs-on: ubuntu-24.04 | |
if: ${{ github.repository == 'WeblateOrg/weblate' }} | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Run FOSSA Scan | |
uses: fossas/[email protected] | |
with: | |
api-key: ${{secrets.fossaApiKey}} | |
- name: Run FOSSA Test | |
uses: fossas/[email protected] | |
with: | |
api-key: ${{secrets.fossaApiKey}} | |
run-tests: true |