diff --git a/website/docs/advanced/code-references/github-action.mdx b/website/docs/advanced/code-references/github-action.mdx index 491e0ef3e..4bbdb4e61 100644 --- a/website/docs/advanced/code-references/github-action.mdx +++ b/website/docs/advanced/code-references/github-action.mdx @@ -37,15 +37,16 @@ Create a new Actions workflow in your GitHub repository under the `.github/workf api-user: ${{ secrets.CONFIGCAT_API_USER }} api-pass: ${{ secrets.CONFIGCAT_API_PASS }} config-id: PASTE-YOUR-CONFIG-ID-HERE - # line-count: 5 # optional - # timeout: 1800 # optional - # sub-folder: src # optional - # exclude-keys: > # optional + # repository: owner/repository # optional, defaults to the current GitHub repository + # line-count: 5 # optional + # timeout: 1800 # optional + # sub-folder: src # optional + # exclude-keys: > # optional # flag_key_to_exclude_1 # flag_key_to_exclude_2 - # alias-patterns: (\w+) = :CC_KEY,const (\w+) = feature_flags\.enabled\(:CC_KEY\) #optional + # alias-patterns: (\w+) = :CC_KEY,const (\w+) = feature_flags\.enabled\(:CC_KEY\) #optional # usage-patterns: feature_flags\.enabled\(:CC_KEY\) # optional, comma delimited flag key usage patterns - # verbose: true # optional + # verbose: true # optional ``` @@ -64,6 +65,7 @@ Scan reports are uploaded for each branch of your repository that triggers the w | `api-user` | ConfigCat Management API basic authentication username. | ☑ | | | `api-pass` | ConfigCat Management API basic authentication password. | ☑ | | | `api-host` | ConfigCat Management API host. | | `api.configcat.com` | +| `repository` | Name of the repository. | | Current GitHub repository (owner/repository) | | `line-count` | Context line count before and after the reference line. (min: 1, max: 10) | | 4 | | `timeout` | Scan timeout in seconds (default: 1800, min: 60). If the scan does not finish within this time, it is aborted. No partial results are returned. The command exits with a timeout error. | | 1800 | | `sub-folder` | Sub-folder to scan, relative to the repository root folder. | | | diff --git a/website/versioned_docs/version-V1/advanced/code-references/github-action.mdx b/website/versioned_docs/version-V1/advanced/code-references/github-action.mdx index 7dfa5f329..c301412da 100644 --- a/website/versioned_docs/version-V1/advanced/code-references/github-action.mdx +++ b/website/versioned_docs/version-V1/advanced/code-references/github-action.mdx @@ -32,15 +32,16 @@ You can find more information about GitHub Actions ConfigCat Management API basic authentication username. | ☑ | | | `api-pass` | ConfigCat Management API basic authentication password. | ☑ | | | `api-host` | ConfigCat Management API host. | | `api.configcat.com` | +| `repository` | Name of the repository. | | Current GitHub repository (owner/repository) | | `line-count` | Context line count before and after the reference line. (min: 1, max: 10) | | 4 | | `timeout` | Scan timeout in seconds (default: 1800, min: 60). If the scan does not finish within this time, it is aborted. No partial results are returned. The command exits with a timeout error. | | 1800 | | `sub-folder` | Sub-folder to scan, relative to the repository root folder. | | |