I have an organization secret FOSSA_API_KEY, but still get an error Input required and not supplied: api-key:
/home/runner/work/_actions/fossas/fossa-action/main/node_modules/@actions/core/lib/core.js:106
throw new Error(`Input required and not supplied: ${name}`);
^
Error: Input required and not supplied: api-key
Here is my action yaml:
name: FOSSA License Scanning
on:
push:
branches:
- main
- release-*
pull_request:
branches:
- main
- release-*
permissions:
contents: read
actions: read
jobs:
fossa-scan:
runs-on: ubuntu-latest
steps:
- name: Checkout tree
uses: actions/checkout@v4
- name: Run FOSSA scan and upload build data
uses: fossas/fossa-action@main
with:
api-key: ${{ env.fossa_api_key }}
debug: true
Any suggestions?
I have an organization secret
FOSSA_API_KEY, but still get an errorInput required and not supplied: api-key:Here is my action yaml:
Any suggestions?