actions-marketplace-validations/Official FOSSA Action

Find license compliance and security issues in your applications with FOSSA

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Apr 21, 2026
License
MPL 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/fossas_fossa-action@29693cc50323968e039056be419b32989fc5880c # no releases — HEAD as of 2026-07-13

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
api-keyYour FOSSA API key.yes
pinned-cli-versionIf set, use the specified FOSSA Cli version.no
run-testsIf set to `true` FOSSA will run the `fossa test` command.false
containerA container name or OCI image path. Set to use FOSSA's container scanning functionality. This will run `fossa container analyze` (default behavior) and `fossa container test` (if used in combination with `run-tests`).no
endpointEndpoint passed to FOSSA CLI. Defaults to `app.fossa.com`.no
branchOverride the detected FOSSA project branch. If running FOSSA analysis on a Pull Request, as a start you can use the contexts `github.ref` or `github.ref_name`.no
projectOverride the detected FOSSA project name. If running FOSSA analysis on a Pull Request, as a start you can use the contexts `github.ref` or `github.ref_name`.no
teamAllows you to specify the team for your project. It uses the team name, just as `--team` in the CLI. This will only work when creating a project.no
policyAllows you to specify the policy for your project. It uses the policy name, just as `--policy` in the CLI. This will only work when creating a project.
debugRun all FOSSA commands in debug mode. Running `fossa analyze` in debug mode will generate a debug bundle that can be uploaded as a build artifact after this action completes.false
test-diff-revisionRun fossa test with the `--diff <revision>` option, which checks if there are new issues relative to `<revision>`. Requires `run-tests` to be set in order to take effect.no
generate-reportIf set, after analyzing your project, FOSSA will generate a report which is accessible from the `report` step output. The value must be a [report format](https://github.com/fossas/fossa-cli/blob/master/docs/references/subcommands/report.md#specifying-a-report-format). Currently only the attribution report is supported.no
working-directoryThe directory to analyzeno
namedescription
reportIf `generate-report` is provided, this will contain the string contents of the report in the requested format.