Skip to content

We are checking for a way to pass multiple option to the actions/checkout@v4, when used in a reusable workflow. #2097

Open
@mrmontoya913

Description

@mrmontoya913

We are checking for a way to pass multiple option to the actions/checkout@v4, when used in a reusable workflow.

Something like following

jobs:
  docker:
    name: Docker
    uses: ./.github/workflows/docker.yml
    with:
      docker_file: Dockerfile
      dockerhub_repo: account/repository
      checkout: |
        repository: ''
        ref: ''
        token: ''
        path: ''
        clean: ''
        fetch-depth: ''
        fetch-tags: ''
    secrets: inherit

Is there a way to pass a list of options in that way?

Originally posted by @air3ijai in #2093

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions