launchdarkly / ld-find-code-refs

Build tool for automatically sending feature flag code references to LaunchDarkly
https://launchdarkly.com
Other
47 stars 34 forks source link

Support repositories in a detached HEAD state. #89

Closed vlymar closed 5 years ago

vlymar commented 5 years ago

Implements a --branch option for overriding automatic branch detection.

Modifies the github actions wrapper to read branch name from GITHUB_REF. It will then use that value to set the branch option.

This will let us ship a fixed version of our v2 action (https://github.com/launchdarkly/find-code-references/issues/1, https://github.com/launchdarkly/ld-find-code-refs/issues/88). It will also let ld-find-code-refs work better with AWS CodeBuild (https://github.com/launchdarkly/ld-find-code-refs/issues/84).

QA: