We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 417b454 commit 3b826a4Copy full SHA for 3b826a4
.github/workflows/main.yml
@@ -0,0 +1,28 @@
1
+name: LaunchDarkly Code References
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
7
+jobs:
8
+ code-refs:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - name: Checkout code
13
+ uses: actions/checkout@v3
14
15
+ - name: Download ld-find-code-refs binary (v1.8.6)
16
+ run: |
17
+ curl -sSL https://github.com/launchdarkly/ld-find-code-refs/releases/download/v1.8.6/ld-find-code-refs-linux-amd64 -o ld-find-code-refs
18
+ chmod +x ld-find-code-refs
19
20
+ - name: Run ld-find-code-refs
21
+ env:
22
+ LD_ACCESS_TOKEN: ${{ secrets.LD_ACCESS_TOKEN }}
23
24
+ ./ld-find-code-refs \
25
+ --proj-key your-project-key \
26
+ --repo-name "${{ github.repository }}" \
27
+ --dir . \
28
+ --ref ${{ github.ref_name }} \
0 commit comments