diff --git a/.github/workflows/generate-readme.yml b/.github/workflows/generate-readme.yml index d6f7710..3c6a06a 100644 --- a/.github/workflows/generate-readme.yml +++ b/.github/workflows/generate-readme.yml @@ -1,6 +1,12 @@ name: Generate README from templates and data files using doctool on: workflow_call: + inputs: + doctool-ref: + description: 'Git ref (tag/branch/commit) of keyfactor/doctooldotnet to run. Defaults to main; override to pin to a specific commit/tag if needed.' + type: string + required: false + default: 'main' secrets: token: description: 'Secret token from caller workflow to approve readme' @@ -23,6 +29,7 @@ jobs: uses: actions/checkout@v4 with: repository: keyfactor/doctooldotnet + ref: ${{ inputs.doctool-ref }} path: doctooldotnet token: ${{ secrets.token }} clean: false