mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
chore(): add gh action ld/find-code-references (#189015)
This commit is contained in:
parent
f0c4cc367c
commit
5b072c9aa8
1 changed files with 25 additions and 0 deletions
25
.github/workflows/launchdarkly-code-references.yml
vendored
Normal file
25
.github/workflows/launchdarkly-code-references.yml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
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
|
||||
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.12.0
|
||||
with:
|
||||
accessToken: ${{ secrets.LD_ACCESS_TOKEN }}
|
||||
projKey: ${{ secrets.LD_PROJECT_KEY }}
|
Loading…
Add table
Add a link
Reference in a new issue