diff --git a/.github/actions/checkout-head/action.yml b/.github/actions/checkout-head/action.yml index 2713706..1b97857 100644 --- a/.github/actions/checkout-head/action.yml +++ b/.github/actions/checkout-head/action.yml @@ -23,6 +23,10 @@ inputs: commands. The post-job step removes the PAT. default: ${{ github.token }} required: false + submodules: + description: 'Whether to checkout submodules: `true` to checkout submodules or `recursive` to recursively checkout submodules'. + default: 'false' + required: 'false' runs: using: composite @@ -63,4 +67,4 @@ runs: repository: ${{ inputs.repository }} ref: ${{ steps.repo.outputs.ref }} token: ${{ inputs.token }} - submodules: 'recursive' \ No newline at end of file + submodules: ${{ inputs.submodules }}