{"id":36613773,"url":"https://github.com/scanoss/integration-github-actions","last_synced_at":"2026-01-12T09:04:08.499Z","repository":{"id":225887494,"uuid":"745006985","full_name":"scanoss/integration-github-actions","owner":"scanoss","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-11T14:05:47.000Z","size":192,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-11T15:23:20.402Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scanoss.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-18T13:05:20.000Z","updated_at":"2025-03-11T14:05:53.000Z","dependencies_parsed_at":"2024-03-04T20:39:22.987Z","dependency_job_id":"ad9d9347-ae88-4fff-b36b-ef3e9852a480","html_url":"https://github.com/scanoss/integration-github-actions","commit_stats":null,"previous_names":["scanoss/integration-github-actions"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/scanoss/integration-github-actions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scanoss%2Fintegration-github-actions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scanoss%2Fintegration-github-actions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scanoss%2Fintegration-github-actions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scanoss%2Fintegration-github-actions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scanoss","download_url":"https://codeload.github.com/scanoss/integration-github-actions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scanoss%2Fintegration-github-actions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28337617,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-12T09:04:06.664Z","updated_at":"2026-01-12T09:04:08.473Z","avatar_url":"https://github.com/scanoss.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SCANOSS GitHub Action Usage Example\n\nThis repository serves as an example to demonstrate how to use the [SCANOSS GitHub Action](https://github.com/scanoss/actions-scan/) for license management in your projects. SCANOSS provides two predefined policies for scanning: `copyleft` and `undeclared`.\n\n## Overview\n\nThe repository is structured into two branches to showcase different scenarios:\n\n- [`main`](https://github.com/scanoss/integration-github-actions/tree/main): Demonstrates a scenario where the codebase comply with the policies:\n    - No copyleft licenses are found within the codebase.\n    - All components are correctly declared in the [`sbom.json`](sbom.json) file. \n\n\n- [`policy/violations`](https://github.com/scanoss/integration-github-actions/tree/policy/violations): Illustrates the case where the codebase does not comply with the policies. You can find the failing PR [here](https://github.com/scanoss/integration-github-actions/pull/14).\n    - Introduction of copyleft licenses.\n    - Usage of components that are not declared in the `sbom.json`. \n  \n\n## Policies in Detail\n\n- **Copyleft**: This policy scans your code for copyleft licenses. If no copyleft licenses are identified, the check passes. Otherwise, it fails, indicating non-compliance.\n- **Undeclared**: Requires the explicit declaration of all utilized components within a `sbom.json` file. Failure to declare any component results in a failed check, highlighting undeclared usage.\n\n## How to Use This Action in Your Project\n\nTo use the SCANOSS GitHub Action in your project, you can add a workflow file under `.github/workflows` with the following basic setup:\n\n```yaml\nname: Example SCANOSS Action\n\non:\n  pull_request:\n    branches:\n      - main\n  push:\n    branches:\n      - main\n\npermissions:\n  contents: read\n  pull-requests: write\n  checks: write\n\njobs:\n  scanoss-analysis:\n    name: SCANOSS Analysis\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout code\n        id: checkout\n        uses: actions/checkout@v4\n\n      - name: Run SCANOSS analysis\n        id: scan\n        uses: scanoss/actions-scan@v0\n        with:\n          policies: copyleft, undeclared\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscanoss%2Fintegration-github-actions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscanoss%2Fintegration-github-actions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscanoss%2Fintegration-github-actions/lists"}