Skip to content

Commit

Permalink
Add foss-action and test licenses
Browse files Browse the repository at this point in the history
  • Loading branch information
rajuljha committed Jul 6, 2024
1 parent 2354eef commit 8c698c2
Show file tree
Hide file tree
Showing 9 changed files with 229 additions and 140 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/foss-action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Check foss-action

on:
pull_request:

jobs:
compliance_check:
runs-on: ubuntu-latest
name: Perform Fossology Scan
steps:
- name: Checkout this repo
uses: actions/checkout@v2

- name: Run foss-action
uses: rajuljha/foss-action@v4
with:
scan_mode: "differential"
scanners: "nomos ojo copyright keyword"
from_tag: "v001"
to_tag: "v004"
report_format: "SPDX_JSON"
119 changes: 0 additions & 119 deletions .github/workflows/fossology-scan.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions .github/workflows/sbom-generate.yml

This file was deleted.

9 changes: 0 additions & 9 deletions .github/workflows/test_gh_actions.yaml

This file was deleted.

9 changes: 9 additions & 0 deletions LICENSES/BSD-3-Clause.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Copyright (c) <year> <owner>.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1 change: 1 addition & 0 deletions LICENSES/FSFAP.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.
Loading

0 comments on commit 8c698c2

Please sign in to comment.