bttf/GrowthBook Code References
Find references to feature flags in your code.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Jan 25, 2024
- License
- None
Pinned Snippet
uses: bttf/test-gb-find-code-refs@0951e690a88e7401c80f58862d082380a353efb6 # no releases — HEAD as of 2026-07-13tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| allowTags | Enable storing references for tags. Lists the tag as a branch. | no | false |
| contextLines | The number of context lines to include with each code reference. If 0, only the lines containing flag references will be sent. If > 0, will include that number of context lines above and below the flag reference. A maximum of 5 context lines may be provided. (default 2) | no | 2 |
| debug | Enable verbose debug logging. | no | false |
| 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. | no | 10 |
Outputs
no outputs