Bug
Every run of the CoinPayPortal invoice workflow fails before any step executes:
##[error]profullstack/coinpaybot/v0/action.yml (Line: 9, Col: 18): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.GITHUB_TOKEN
##[error]Failed to load profullstack/coinpaybot/v0/action.yml
This happens on any /coinpay ... comment, from any user, including on repos where the workflow and secrets are configured correctly (e.g. profullstack/malware-test-prs run 32010029188).
Cause
action.yml declares an input with:
default: ${{ secrets.GITHUB_TOKEN }}
The secrets context is not available inside action.yml — GitHub only exposes github context there. ${{ secrets.* }} in an action metadata file is always rejected at load time, so the action cannot be resolved and the job dies in "Set up job".
Suggested fix
Remove the default and pass the token from the workflow instead:
- action.yml: drop
default: ${{ secrets.GITHUB_TOKEN }} from the github-token input
- coinpay-invoice.yml example: keep
github-token: ${{ secrets.GITHUB_TOKEN }} (that context IS valid in a workflow file)
Affected
- All consumers using
profullstack/coinpaybot@v0 (malware-test-prs, etc.)
- Any existing pending
/coinpay invoice requests (e.g. malware-test-prs PRs #170–#175) cannot be approved until this is fixed and the workflow reruns.
Bug
Every run of the CoinPayPortal invoice workflow fails before any step executes:
This happens on any
/coinpay ...comment, from any user, including on repos where the workflow and secrets are configured correctly (e.g. profullstack/malware-test-prs run 32010029188).Cause
action.ymldeclares an input with:The
secretscontext is not available insideaction.yml— GitHub only exposesgithubcontext there.${{ secrets.* }}in an action metadata file is always rejected at load time, so the action cannot be resolved and the job dies in "Set up job".Suggested fix
Remove the default and pass the token from the workflow instead:
default: ${{ secrets.GITHUB_TOKEN }}from thegithub-tokeninputgithub-token: ${{ secrets.GITHUB_TOKEN }}(that context IS valid in a workflow file)Affected
profullstack/coinpaybot@v0(malware-test-prs, etc.)/coinpay invoicerequests (e.g. malware-test-prs PRs #170–#175) cannot be approved until this is fixed and the workflow reruns.