Skip to content

Test for display test_5 #89

Test for display test_5

Test for display test_5 #89

Workflow file for this run

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@v4
# - uses: valeriangalliat/action-sshd-cloudflared@v1
- name: Debug env vars
run: |
echo $INPUT_ENVIRONMENT
echo $INPUT_REQUIREMENTS
echo $INPUT_PIPENV
echo $INPUT_POETRY
echo $GITHUB_ACTION
echo $GITHUB_WORKSPACE
echo #GITHUB_ENV
- name: Generate Python SBOM
id : generate_sbom
uses: rajuljha/foss-action-python@v6
with:
environment: false
requirements: true
pipenv: false
poetry: false
- name: Upload SBOM artifact
uses: actions/upload-artifact@v3
with:
name: sbom
path: ${{ env.SBOM_FILE_PATH }}
- name: Download SBOM artifact
uses: actions/download-artifact@v3
with:
name: sbom
- name: Display SBOM file path
run: |
# Example of using the SBOM file
cat sbom/sbom_req.json
# - name: Run foss-action
# uses: rajuljha/fossology-action@v20
# with:
# scan_mode: "repo"
# scanners: "nomos ojo copyright keyword"
# # from_tag: "v005"
# # to_tag: "v004"
# allowlist_file_path: "whitelist.json"
# keyword_conf_file_path: "test_keyword.conf"
# report_format: "SPDX_YAML"