Skip to content

fixing code references #2

fixing code references

fixing code references #2

Workflow file for this run

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 }}

Check failure on line 5 in .github/workflows/actions.yml

View workflow run for this annotation

GitHub Actions / Find LaunchDarkly flag code references

Invalid workflow file

The workflow is not valid. .github/workflows/actions.yml (Line: 5, Col: 1): Unexpected value 'group' .github/workflows/actions.yml (Line: 6, Col: 1): Unexpected value 'cancel-in-progress'
cancel-in-progress: true
jobs:
launchDarklyCodeReferences:
name: LaunchDarkly Code References
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
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@v2
with:
accessToken: ${{ secrets.LD_ACCESS_TOKEN }}
projKey: toggle-airlines