launchdarkly/LaunchDarkly Code References

Find references to feature flags in your code.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 17, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: launchdarkly/find-code-references@89a7d362d1d4b3725fe0fe0ccd0dc69e3bdcba58 # v2.14.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
accessTokenA token with write access to the LaunchDarkly project.yes
allowTagsEnable storing references for tags. Lists the tag as a branch.nofalse
baseUriThe base URL of the LaunchDarkly server for this configuration.nohttps://app.launchdarkly.com
contextLinesThe 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.no2
debugEnable verbose debug logging.nofalse
ignoreServiceErrorsIf enabled, the scanner will terminate with exit code 0 when the LaunchDarkly API is unreachable or returns an unexpected response.nofalse
lookbackSet 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.no10
projKeyKey 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.no
repoNameThe repository name. Defaults to the current GitHub repository.no
pruneThere 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.nofalse
subdirectoryThe subdirectory to run the action in.no

no outputs