@@ -41,6 +41,12 @@ Mainly using [losisin/helm-docs-github-action](https://github.com/losisin/helm-d
4141 # Default: `${{ github.workspace }}`
4242 working-directory : ${{ github.workspace }}
4343
44+ # The git ref to checkout before generating documentation.
45+ # Can be a branch, tag or commit SHA.
46+ # Set to an empty string to skip checkout.
47+ # Default: `${{ github.ref }}`
48+ checkout-ref : ${{ github.ref }}
49+
4450 # Path to the values file to use for generating the documentation.
4551 # See https://github.com/losisin/helm-values-schema-json-action.
4652 values-file : " "
@@ -68,19 +74,21 @@ Mainly using [losisin/helm-docs-github-action](https://github.com/losisin/helm-d
6874
6975## Inputs
7076
71- | **Input** | **Description** | **Required** | **Default** |
72- | -------------------------- | ------------------------------------------------------------------------- | ------------ | ------------------------- |
73- | **` working-directory`** | Working directory | **false** | `${{ github.workspace }}` |
74- | **`values-file`** | Path to the values file to use for generating the documentation. | **false** | - |
75- | | See <https://github.com/losisin/helm-values-schema-json-action>. | | |
76- | **`github-token`** | GitHub Token to create and merge pull request. | **false** | `${{ github.token }}` |
77- | | Permissions : | | |
78- | | - contents : write | | |
79- | | - pull-requests : write | | |
80- | **`github-app-client-id`** | GitHub App client ID to generate GitHub token in place of github-token. | **false** | - |
81- | | See <https://github.com/actions/create-github-app-token>. | | |
82- | **`github-app-key`** | GitHub App private key to generate GitHub token in place of github-token. | **false** | - |
83- | | See <https://github.com/actions/create-github-app-token>. | | |
77+ | **Input** | **Description** | **Required** | **Default** |
78+ | -------------------------- | ---------------------------------------------------------------------------- | ------------ | ------------------------- |
79+ | **` working-directory`** | Working directory | **false** | `${{ github.workspace }}` |
80+ | **`checkout-ref`** | The Git ref to checkout before generating documentation. | **false** | `${{ github.ref }}` |
81+ | | Can be a branch, tag or commit SHA. Set to an empty string to skip checkout. | | |
82+ | **`values-file`** | Path to the values file to use for generating the documentation. | **false** | - |
83+ | | See <https://github.com/losisin/helm-values-schema-json-action>. | | |
84+ | **`github-token`** | GitHub Token to create and merge pull request. | **false** | `${{ github.token }}` |
85+ | | Permissions : | | |
86+ | | - contents : write | | |
87+ | | - pull-requests : write | | |
88+ | **`github-app-client-id`** | GitHub App client ID to generate GitHub token in place of github-token. | **false** | - |
89+ | | See <https://github.com/actions/create-github-app-token>. | | |
90+ | **`github-app-key`** | GitHub App private key to generate GitHub token in place of github-token. | **false** | - |
91+ | | See <https://github.com/actions/create-github-app-token>. | | |
8492
8593<!-- inputs:end -->
8694
0 commit comments