Skip to content

Commit

Permalink
chore: Add FOSSA check to GH actions (#115)
Browse files Browse the repository at this point in the history
* chore: Add FOSSA check to GH actions

* Remove old reuse workflow, moved to main workflow
  • Loading branch information
ghislainbourgeois authored Jan 12, 2024
1 parent e9a9cca commit 6b5b31e
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 18 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# SPDX-License-Identifier: Apache-2.0
# Copyright 2024 Canonical Ltd.

name: Main workflow

on:
pull_request:
branches:
- main
push:
branches:
- main

jobs:
license-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: reuse lint
uses: fsfe/reuse-action@v2

fossa-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: FOSSA scan
uses: fossa-contrib/fossa-action@v3
with:
fossa-api-key: 9dc8fa92e3dd565687317beb87b56d89
18 changes: 0 additions & 18 deletions .github/workflows/reuse.yml

This file was deleted.

0 comments on commit 6b5b31e

Please sign in to comment.