Skip to content

fix: avoid secrets in reusable workflow conditions #16

fix: avoid secrets in reusable workflow conditions

fix: avoid secrets in reusable workflow conditions #16

Workflow file for this run

name: CLA
on:
issue_comment:
types:
- created
pull_request_target:
types:
- opened
- synchronize
- reopened
- ready_for_review
- closed
permissions:
actions: write
contents: write
pull-requests: write
statuses: write
jobs:
cla:
uses: ./.github/workflows/cla-reusable.yml

Check failure on line 23 in .github/workflows/cla.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/cla.yml

Invalid workflow file

error parsing called workflow ".github/workflows/cla.yml" -> "./.github/workflows/cla-reusable.yml" (source branch with sha:d41c022c1c08b3af8783f7767d939f013e5896b4) : (Line: 141, Col: 13): Unrecognized named-value: 'secrets'. Located at position 24 within expression: inputs.app-id != '' && secrets.CLA_APP_PRIVATE_KEY != ''
secrets: inherit
with:
event-name: ${{ github.event_name }}
issue-is-pr: ${{ github.event_name == 'issue_comment' && github.event.issue.pull_request != null }}
comment-body: ${{ github.event.comment.body || '' }}
default-branch: ${{ github.event.repository.default_branch }}
app-id: ${{ vars.CLA_APP_ID }}
compliance-profile: bsl-change-license-commercial