diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f5ff9800bc5..4ccdc898c70 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -43,6 +43,23 @@ jobs: if: env.SKIP_STEP == 'false' uses: streetsidesoftware/cspell-action@v5 + find-flags: + runs-on: ubuntu-latest + name: Find LaunchDarkly feature flags in diff + environment: Linting + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Find flags + uses: launchdarkly/find-code-references-in-pull-request@v2 + id: find-flags + with: + project-key: default + environment-key: production + access-token: ${{ secrets.LD_ACCESS_TOKEN }} + repo-token: ${{ secrets.GITHUB_TOKEN }} + get-affected: name: Get Affected Packages runs-on: ubuntu-latest