Created
November 8, 2022 06:42
-
-
Save codyde/c41c7d7925c75e0554dae51310b9206b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Find LaunchDarkly flag code references | |
on: push | |
# cancel in-flight workflow run if another push was triggered | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
launchDarklyCodeReferences: | |
name: LaunchDarkly Code References | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
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/[email protected] | |
with: | |
accessToken: ${{ secrets.LD_ACCESS_TOKEN }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment