Skip to content

Commit e3e9da2

Browse files
author
LaunchDarklyReleaseBot
committed
Release auto update version 2.13.0
1 parent 8b02641 commit e3e9da2

File tree

3 files changed

+21
-16
lines changed

3 files changed

+21
-16
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM launchdarkly/ld-find-code-refs-github-action:2.12.0
1+
FROM launchdarkly/ld-find-code-refs-github-action:2.13.0
22

33
LABEL com.github.actions.name="LaunchDarkly Code References"
44
LABEL com.github.actions.description="Find references to feature flags in your code."

README.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
with:
2929
fetch-depth: 11 # This value must be set if the lookback configuration option is not disabled for find-code-references. Read more: https://github.com/launchdarkly/ld-find-code-refs#searching-for-unused-flags-extinctions
3030
- name: LaunchDarkly Code References
31-
uses: launchdarkly/find-code-references@v2.12.0
31+
uses: launchdarkly/find-code-references@v2.13.0
3232
with:
3333
accessToken: ${{ secrets.LD_ACCESS_TOKEN }}
3434
projKey: LD_PROJECT_KEY
@@ -71,7 +71,7 @@ jobs:
7171
with:
7272
fetch-depth: 11 # This value must be set if the lookback configuration option is not disabled for find-code-references. Read more: https://github.com/launchdarkly/ld-find-code-refs#searching-for-unused-flags-extinctions
7373
- name: LaunchDarkly Code References
74-
uses: launchdarkly/find-code-references@v2.12.0
74+
uses: launchdarkly/find-code-references@v2.13.0
7575
with:
7676
accessToken: ${{ secrets.LD_ACCESS_TOKEN }}
7777
projKey: LD_PROJECT_KEY
@@ -83,19 +83,20 @@ Once your workflow has been created, the best way to confirm that the workflow i
8383

8484
If the action fails, there may be a problem with your configuration. To investigate, dig into the action's logs to view any error messages.
8585

86-
<!-- action-docs-inputs -->
86+
<!-- action-docs-inputs source="action.yml" -->
8787
## Inputs
8888

89-
| parameter | description | required | default |
89+
| name | description | required | default |
9090
| --- | --- | --- | --- |
91-
| accessToken | A token with write access to the LaunchDarkly project. | `true` | |
92-
| allowTags | Enable storing references for tags. Lists the tag as a branch. | `false` | false |
93-
| baseUri | The base URL of the LaunchDarkly server for this configuration. | `false` | https://app.launchdarkly.com |
94-
| contextLines | The number of context lines above and below a code reference for the job to send to LaunchDarkly. By default, the flag finder will not send any context lines to LaunchDarkly. If < 0, it will send no source code to LaunchDarkly. If 0, it will send only the lines containing flag references. If > 0, it will send that number of context lines above and below the flag reference. You may provide a maximum of 5 context lines. | `false` | 2 |
95-
| debug | Enable verbose debug logging. | `false` | false |
96-
| ignoreServiceErrors | If enabled, the scanner will terminate with exit code 0 when the LaunchDarkly API is unreachable or returns an unexpected response. | `false` | false |
97-
| lookback | Set the number of commits to search in history for whether you removed a feature flag from code. You may set to 0 to disable this feature. Setting this option to a high value will increase search time. | `false` | 10 |
98-
| projKey | Key of the LaunchDarkly project associated with this repository. Found under Account Settings -> Projects in the LaunchDarkly dashboard. Cannot be combined with `projects` block in configuration file. | `false` | |
99-
| repoName | The repository name. Defaults to the current GitHub repository. | `false` | |
100-
| prune | There is a known issue where the GitHub Action will not prune deleted branch data in private repos. Only enable this if you are running the action in a public repo. | `false` | false |
101-
<!-- action-docs-inputs -->
91+
| `accessToken` | <p>A token with write access to the LaunchDarkly project.</p> | `true` | `""` |
92+
| `allowTags` | <p>Enable storing references for tags. Lists the tag as a branch.</p> | `false` | `false` |
93+
| `baseUri` | <p>The base URL of the LaunchDarkly server for this configuration.</p> | `false` | `https://app.launchdarkly.com` |
94+
| `contextLines` | <p>The number of context lines above and below a code reference for the job to send to LaunchDarkly. By default, the flag finder will not send any context lines to LaunchDarkly. If < 0, it will send no source code to LaunchDarkly. If 0, it will send only the lines containing flag references. If > 0, it will send that number of context lines above and below the flag reference. You may provide a maximum of 5 context lines.</p> | `false` | `2` |
95+
| `debug` | <p>Enable verbose debug logging.</p> | `false` | `false` |
96+
| `ignoreServiceErrors` | <p>If enabled, the scanner will terminate with exit code 0 when the LaunchDarkly API is unreachable or returns an unexpected response.</p> | `false` | `false` |
97+
| `lookback` | <p>Set the number of commits to search in history for whether you removed a feature flag from code. You may set to 0 to disable this feature. Setting this option to a high value will increase search time.</p> | `false` | `10` |
98+
| `projKey` | <p>Key of the LaunchDarkly project associated with this repository. Found under Account Settings -&gt; Projects in the LaunchDarkly dashboard. Cannot be combined with <code>projects</code> block in configuration file.</p> | `false` | `""` |
99+
| `repoName` | <p>The repository name. Defaults to the current GitHub repository.</p> | `false` | `""` |
100+
| `prune` | <p>There is a known issue where the GitHub Action will not prune deleted branch data in private repos. Only enable this if you are running the action in a public repo.</p> | `false` | `false` |
101+
| `subdirectory` | <p>The subdirectory to run the action in.</p> | `false` | `""` |
102+
<!-- action-docs-inputs source="action.yml" -->

action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ inputs:
4242
default: "false"
4343
description: "There is a known issue where the GitHub Action will not prune deleted branch data in private repos. Only enable this if you are running the action in a public repo."
4444
required: false
45+
subdirectory:
46+
description: "The subdirectory to run the action in."
47+
required: false
4548
runs:
4649
using: 'docker'
4750
image: 'Dockerfile'
@@ -56,3 +59,4 @@ runs:
5659
LD_IGNORE_SERVICE_ERRORS: ${{ inputs.ignoreServiceErrors }}
5760
LD_LOOKBACK: ${{ inputs.lookback }}
5861
LD_PRUNE: ${{ inputs.prune }}
62+
LD_SUBDIRECTORY: ${{ inputs.subdirectory }}

0 commit comments

Comments
 (0)