[Infra] Replacement of link-to links with infra locators (#191578) #2
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: | |
branches: | |
- 'main' | |
# 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 | |
if: github.event.repository.fork == false | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
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@ba05c32c4bddd0374bd3f5ecabcbb8e2118e8aa8 # v2.12.0 | |
with: | |
accessToken: ${{ secrets.LD_ACCESS_TOKEN }} | |
projKey: ${{ secrets.LD_PROJECT_KEY }} |