Input required and not supplied: api-key
- Dominant language
- TypeScript
- Stars
- 73
- Forks
- 21
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 4
Description
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?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.