Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM launchdarkly/ld-find-code-refs-github-action:2.18.1
FROM launchdarkly/ld-find-code-refs-github-action:2.18.3

LABEL com.github.actions.name="LaunchDarkly Code References"
LABEL com.github.actions.description="Find references to feature flags in your code."
Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,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.18.1
uses: launchdarkly/find-code-references@v2
with:
accessToken: ${{ secrets.LD_ACCESS_TOKEN }}
projKey: LD_PROJECT_KEY
Expand Down Expand Up @@ -63,12 +63,11 @@ jobs:
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: LaunchDarkly Code References
# Pin to a release that includes the docker/ entry point (see changelog).
uses: launchdarkly/find-code-references/docker@v2.18.1
uses: launchdarkly/find-code-references/docker@v2
with:
accessToken: ${{ secrets.LD_ACCESS_TOKEN }}
projKey: LD_PROJECT_KEY
dockerImage: your.registry.example/launchdarkly/ld-find-code-refs-github-action:2.18.1
dockerImage: your.registry.example/launchdarkly/ld-find-code-refs-github-action:2.18.3
```

Mirror the public image `launchdarkly/ld-find-code-refs-github-action` into your registry (pin `dockerImage` to the scanner image tag you mirrored; it can lag the Action tag). This entry point requires a Docker CLI on the runner (included on GitHub-hosted `ubuntu-*` runners). Existing workflows that use the root Action do not need to change.
Expand Down Expand Up @@ -104,7 +103,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.18.1
uses: launchdarkly/find-code-references@v2
with:
accessToken: ${{ secrets.LD_ACCESS_TOKEN }}
projKey: LD_PROJECT_KEY
Expand Down
4 changes: 2 additions & 2 deletions docker/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ inputs:
description: >-
Container image to run. Defaults to the public Docker Hub image used by
the root Action. Set this to your mirrored/proxy image (for example
your.registry.example/launchdarkly/ld-find-code-refs-github-action:2.18.1).
your.registry.example/launchdarkly/ld-find-code-refs-github-action:2.18.3).
Authenticate to private registries with docker/login-action (or equivalent)
in a prior step. Requires a runner with a Docker CLI (GitHub-hosted
ubuntu-* runners include one).
required: false
default: "launchdarkly/ld-find-code-refs-github-action:2.18.1"
default: "launchdarkly/ld-find-code-refs-github-action:2.18.3"
runs:
using: composite
steps:
Expand Down
Loading