From fc57a8246e67d1357d049622158ab8b5c8e97767 Mon Sep 17 00:00:00 2001 From: LaunchDarklyReleaseBot Date: Mon, 8 Jan 2024 18:36:06 +0000 Subject: [PATCH] Release auto update version --- Dockerfile | 2 +- README.md | 5 +++-- action.yml | 5 +++++ 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ca25d6f..40a1132 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM launchdarkly/ld-find-code-refs-github-action:2.11.4 +FROM launchdarkly/ld-find-code-refs-github-action:2.11.5 LABEL com.github.actions.name="LaunchDarkly Code References" LABEL com.github.actions.description="Find references to feature flags in your code." diff --git a/README.md b/README.md index 0b81d72..35aca7f 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ jobs: with: 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 - name: LaunchDarkly Code References - uses: launchdarkly/find-code-references@v2.11.4 + uses: launchdarkly/find-code-references@v2.11.5 with: accessToken: ${{ secrets.LD_ACCESS_TOKEN }} projKey: LD_PROJECT_KEY @@ -61,7 +61,7 @@ jobs: with: 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 - name: LaunchDarkly Code References - uses: launchdarkly/find-code-references@v2.11.4 + uses: launchdarkly/find-code-references@v2.11.5 with: accessToken: ${{ secrets.LD_ACCESS_TOKEN }} projKey: LD_PROJECT_KEY @@ -86,4 +86,5 @@ If the action fails, there may be a problem with your configuration. To investig | 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 | | 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` | | | repoName | The repository name. Defaults to the current GitHub repository. | `false` | | +| 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 | diff --git a/action.yml b/action.yml index c442b87..f061d4e 100644 --- a/action.yml +++ b/action.yml @@ -38,6 +38,10 @@ inputs: repoName: description: "The repository name. Defaults to the current GitHub repository." required: false + prune: + default: "false" + 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." + required: false runs: using: 'docker' image: 'Dockerfile' @@ -51,3 +55,4 @@ runs: LD_DEBUG: ${{ inputs.debug }} LD_IGNORE_SERVICE_ERRORS: ${{ inputs.ignoreServiceErrors }} LD_LOOKBACK: ${{ inputs.lookback }} + LD_PRUNE: ${{ inputs.prune }}