Skip to content

refactor: Update workflow step names for clarity in build-container-i… #1

refactor: Update workflow step names for clarity in build-container-i…

refactor: Update workflow step names for clarity in build-container-i… #1

Workflow file for this run

name: CLA Assistant Reusable Workflow
on:
workflow_call:
inputs:
signatures_path:
type: string
default: "signatures.json"
description: |-
Location where CLA signatures are stored and tracked.
This file maintains the record of all contributors who have signed the agreement.
Customize this path when:
- Using a different storage location for signatures
- Managing multiple CLAs in the same repository
- Integrating with existing signature tracking systems
document_path:
type: string
default: "https://github.com/BloodHoundAD/CLA/blob/main/ICLA.md"
description: |-
URL to the Contributor License Agreement document that contributors must sign.
This document defines the terms under which contributions are accepted.
Customize this when:
- Using a different CLA version
- Implementing organization-specific agreements
- Supporting multiple languages or jurisdictions
branch:
type: string
default: "main"
description: "Branch name for the CLA repository"
remote_organization:
type: string
default: "BloodHoundAD"
description: "Organization name containing the CLA repository"
remote_repository:
type: string
default: "CLA"
description: "Name of the CLA repository"
secrets:
github_token:

Check failure on line 38 in .github/workflows/reusable.cla.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/reusable.cla.yml

Invalid workflow file

secret name `github_token` within `workflow_call` can not be used since it would collide with system reserved name
required: true
gh_access_token:
required: true
jobs:
process-cla:
runs-on: ubuntu-latest
steps:
- name: "CLA Assistant"
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
uses: contributor-assistant/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.github_token }}
PERSONAL_ACCESS_TOKEN: ${{ secrets.gh_access_token }}
with:
path-to-signatures: ${{ inputs.signatures_path }}
path-to-document: ${{ inputs.document_path }}
branch: ${{ inputs.branch }}
remote-organization-name: ${{ inputs.remote_organization }}
remote-repository-name: ${{ inputs.remote_repository }}